- https://github.com/antlr/antlr4/blob/master/doc/javascript-target.md
- https://github.com/antlr/grammars-v4
$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
$ brew install nvm
$ nvm install 8.2.1 && nvm alias default 8.2.1
$ brew cask install java
$ cd /usr/local/lib
$ curl -O http://www.antlr.org/download/antlr-4.7.1-complete.jar
$ export CLASSPATH=".:/usr/local/lib/antlr-4.7.1-complete.jar:$CLASSPATH"
$ alias antlr4='java -Xmx500M -cp "/usr/local/lib/antlr-4.7.1-complete.jar:$CLASSPATH" org.antlr.v4.Tool'
$ alias grun='java org.antlr.v4.gui.TestRig'
$ java org.antlr.v4.Tool
$ mkdir js-runtime
$ cd js-runtime
$ git clone git@github.com:alenakhineika/js-runtime.git .
$ npm i && npm run compile && npm start