|
|
@ -8,12 +8,14 @@ This is an experimental Javascript lexer, parser and Just-in-Time compiler writt |
|
|
|
This project is an attempted rewrite of Bebbington's js.rs. Most of the Rust code has been rewritten from scratch. |
|
|
|
This project is an attempted rewrite of Bebbington's js.rs. Most of the Rust code has been rewritten from scratch. |
|
|
|
|
|
|
|
|
|
|
|
#### Roadmap |
|
|
|
#### Roadmap |
|
|
|
* Boxing/Unboxing of primitive types (using "string".length) |
|
|
|
* ~string.length~ - works in 0.1.5 |
|
|
|
* Adding support for constructors |
|
|
|
* Adding support for constructors |
|
|
|
* Better error output |
|
|
|
* Better error output |
|
|
|
|
|
|
|
* Passing [test262](https://github.com/tc39/test262) |
|
|
|
|
|
|
|
|
|
|
|
#### Usage |
|
|
|
#### Usage |
|
|
|
* Checkout this project |
|
|
|
* Checkout this project |
|
|
|
* Build `cargo build` |
|
|
|
* Build `cargo build` |
|
|
|
* `cargo run` |
|
|
|
* `cargo run` |
|
|
|
* You can make changes to tests/js/test.js and build again |
|
|
|
* You can make changes to tests/js/test.js and build again |
|
|
|
|
|
|
|
* If any JS doesn't work its a bug! Please raise an issue |
|
|
|