Skip to content

Javascript evaluator according to ECMAScript

License

Notifications You must be signed in to change notification settings

hrvolapeter/javascript-es9-parser

Repository files navigation

Javascript parser

This project introduces javascript parser written in Rust-lang.

The project is currently under development. API is not stable and ECMA 2018 is not fully supported yet. However, it may be satissfactory for simple use cases.

Documentation

Documentation of public API here Documentation of implementaiton also with explanation can be found in specific files

Development

Build

You need nightly version of rust compiler. Project contains cargo package manager. Whole library can be build with cargo build --release. Recommended setup is through rustup installer.

Testing

Tests inlcuding intergration tests can be run with cargo test --all.

Benchmarking

For running available benchmarks use cargo bench