js.rs

by TomBebbington

TomBebbington / js.rs

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

128 Stars 12 Forks Last release: Not found MIT License 452 Commits 0 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

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]*

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.