- the recomended environment to build and run is Eclipse Luna with ANTLR 4 plugin
- in Eclipse got to
window/refrences/ANTL/tool
inANTLR too
add4.7.1
jar and tickgenerate (-visitor)
ANTLR 4.7.1
is used for both grammar and test program. theANTLR 4.7.1
jar file exists in thelib
folder of each project.- test programs does not contain errorful programs. all should pass. I hope :)
- antlr4.antlrToolPath=/4DV506.sm222cf.PA1/lib/antlr-4.7.1-complete.jar
- install the ANSI Escape in Console plugin for Eclipse to see the console outputs in color. otherwise you might see nonsense charachters at the begining and end of each line.
- PART I the Grammer Testing.
- PART II the SymbolTable and TypeChecking.
- PART II the Code Generation.