Skip to content

Instantly share code, notes, and snippets.

@tristan
Created September 30, 2010 13:11
Show Gist options
  • Save tristan/604546 to your computer and use it in GitHub Desktop.
Save tristan/604546 to your computer and use it in GitHub Desktop.
# the lib/ directory contains all the requirements for antlr, which are
# antlr-3.2/tool/target/antlr-3.2.jar
# antlr-3.2/runtime/Java/target/antlr-runtime-3.2.jar
# antlr-2.7.7.jar, which should be in your maven repository
# e.g., ~/.m2/repository/antlr/antlr/2.7.7/antlr-2.7.7.jar
# and stringtemplate-3.2.1.jar which should also be in your maven repository
# e.g., ~/.m2/repository/org/antlr/stringtemplate/3.2.1/stringtemplate-3.2.1.jar
java -cp 'lib/*' org.antlr.Tool SimpleCalc.g
java -cp 'lib/*' org.antlr.Tool SimpleCalcWalker.g
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment