← All repos

rhino

Rhino is an open-source implementation of JavaScript written entirely in Java

Browse cluster: WebAssembly Specification and Proposals
5,066commits
165contributors
8languages

Tech stack & purpose

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.

Languages

JavaScript
58.6%
Java
40.1%
Perl
0.7%
Shell
0.3%
HTML
0.1%
Starlark
0.1%
Makefile
0.0%
Kotlin
0.0%

Contributors (top 30 of 165)