mirror of https://github.com/t1meshift/js.git
Yury Kurlykov 8b88405fc5 | ||
---|---|---|
grammars | ||
jasminesnake | ||
.gitignore | ||
LICENSE | ||
README.md | ||
requirements-dev.txt | ||
requirements.txt | ||
setup.py | ||
tox.ini |
README.md
Jasmine Snake
Another JavaScript interpreter written on Python 3.
Requirements
- ANTLR 4
- Colorama
To run tests:
- pylint
- Tox
You can get ANTLR here, other dependencies could be installed with pip:
pip install -r requirements.txt # Use requirements-dev.txt if you want to run tests
Running
antlr4 -o jasminesnake/lex -package lex -Dlanguage=Python3 grammars/*.g4
python -m jasminesnake
Credits
JavaScript grammar source: https://github.com/antlr/grammars-v4/tree/master/javascript/javascript