/js.rs

An experimental Javascript parser and just-in-time compiler written in Rust

Primary LanguageRustMIT LicenseMIT

Build Status This is a Javascript lexer, parser and Just-in-Time compiler written in Rust. Currently, it has support for some of the language.

Documentation

View here

Contributing

If you want to contribute just file a pull request with your changes. If it passes travis and is reasonably clean and justifiable, it will be merged. Look at the lints specified in src/libjs/lib.rs for coding guidelines.

Building

To build this project, clone it then run make libs all in the project root

Installing

To install this project, run [sudo ]make install in the project root

Running

  • To run the test suite, run js.rs test
  • To run the interactive (REPL) interpreter, run js.rs interactive
  • To run a specific script, run js.rs *[script path]*