mirror of https://github.com/boa-dev/boa.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Jason Williams
ab8d4ed0ce
|
6 years ago | |
---|---|---|
.vscode | 6 years ago | |
src | 6 years ago | |
tests | 6 years ago | |
.editorConfig | 6 years ago | |
.gitignore | 6 years ago | |
.travis.yml | 6 years ago | |
Cargo.lock | 6 years ago | |
Cargo.toml | 6 years ago | |
Dockerfile | 6 years ago | |
Makefile | 6 years ago | |
README.md | 6 years ago |
README.md
Boa
This is an experimental Javascript lexer, parser and Just-in-Time compiler written in Rust. Currently, it has support for some of the language.
This project is an attempted rewrite of Bebbington's js.rs. Most of the Rust code has been rewritten from scratch.
Roadmap
- Boxing/Unboxing of primitive types (using "string".length)
- Supporting non-semicolons
- Adding support for constructors
Usage
- Checkout this project
- Build
cargo build
cargo run
- You can make changes to tests/js/test.js and build again