Skip to content

TheGhostHuCodes/tDA4R

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Definitive ANTLR 4 Reference, 2nd Edition

My workspace containing code listings from the book "The Definitive ANTLR 4 Reference, 2nd Edition", by Terence Parr.

The code examples in the book are written in Java. However, Go and Python are also officially supported target languages. I wanted to write in Go and Python, so examples have been converted to these languages.

Setup

Install ANTLR using homebrew:

brew install antlr

When using homebrew to install ANTLR, you will need to export a new class path to be able to use antlr to compile java code:

export CLASSPATH=".:/usr/local/Cellar/antlr/4.7.1/antlr-4.7.1-complete.jar:$CLASSPATH"

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published