views:

387

answers:

2

Too many people have told me about the disadvantages, but what is its advantage if any?

+4  A: 

JavaCC doesn't require its own runtime JAR (the code it generates runs on its own), whereas ANTLR does.

skaffman
A: 

JavaCC is incredibly easy to learn if you already know Java. The syntax is quite similar to standard Java syntax, and the differences are intuitive.

Daniel