Rhino is an open-source implementation of JavaScript written entirely in Java
Browse cluster: WebAssembly Specification and Proposals →Rhino is an open-source implementation of JavaScript written entirely in Java, licensed under the MPL 2.0. It requires Java 17 or higher to run and is built using Gradle. The project follows a classical compiler architecture with a lexer (TokenStream), parser (Parser), intermediate representation factory (IRFactory), and two backends: one that generates Java classes via Codegen and one that generates bytecode for an Interpreter. Rhino also includes benchmarking infrastructure using the JMH framework to measure performance across various test suites including SunSpider and V8 benchmarks, as well as Android integration tests to ensure compatibility across different SDK versions.