Re: What is the difference between ANTLR and JavaCC
Posted By:
Terence_Parr
Posted On:
Thursday, March 22, 2001 06:10 PM
You mean that ANTLR can generate C++ as well as Java, right? Yep, that's one difference. The tools are pretty much in the same spirit, but with different styles. JavaCC grammars look very much like Java code while ANTLR grammars look more like traditional grammars. Both tools allow lots of lookahead and predicates (code that evaluates at runtime to alter the parse).