https://github.com/hrvolapeter/javascript-es9-parser
Javascript evaluator according to ECMAScript
https://github.com/hrvolapeter/javascript-es9-parser
ast ecmascript javascript javascript-parser nodejs parser rust
Last synced: 20 days ago
JSON representation
Javascript evaluator according to ECMAScript
- Host: GitHub
- URL: https://github.com/hrvolapeter/javascript-es9-parser
- Owner: hrvolapeter
- License: mit
- Created: 2018-09-19T09:45:53.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-05-22T15:39:14.000Z (almost 6 years ago)
- Last Synced: 2025-02-25T07:01:45.577Z (3 months ago)
- Topics: ast, ecmascript, javascript, javascript-parser, nodejs, parser, rust
- Language: Rust
- Homepage:
- Size: 17.9 MB
- Stars: 10
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Javascript parser
This project introduces javascript parser written in Rust-lang.
The project is currently under development. API is not stable and [ECMA 2018](http://www.ecma-international.org/ecma-262/9.0/index.html#sec-statements) is not fully supported yet. However, it may be satissfactory for simple use cases.
## Documentation
Documentation of public API [here](https://retep007.github.io/javascript-es9-parser/)
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](https://rustup.rs/) installer.
### Testing
Tests inlcuding intergration tests can be run with `cargo test --all`.
### Benchmarking
For running available benchmarks use `cargo bench`