Skip to content
This repository was archived by the owner on Feb 26, 2018. It is now read-only.

Latest commit

 

History

History
40 lines (29 loc) · 1.1 KB

antlr.md

File metadata and controls

40 lines (29 loc) · 1.1 KB

ANTLR

Install

Download Jar

The instruction assume you have ~/app/bin in your PATH

export CLASSPATH=".:$HOME/app/antlr-4.6-complete.jar:$CLASSPATH"
alias antlr4='java -Xmx500M org.antlr.v4.Tool'
alias grun='java org.antlr.v4.gui.TestRig'
  • run antlr4 you should see something like the following
$ antlr4                                    
ANTLR Parser Generator  Version 4.6
 -o ___              specify output directory where all output is generated
 -lib ___            specify location of grammars, tokens files
...

Build ANTLR from source

Golang