ANTLR instead of JavaCC

Moderator: Secure Coding Lab

DanielSchoepe
Mausschubser
Mausschubser
Beiträge: 49
Registriert: 28. Sep 2009 11:39

ANTLR instead of JavaCC

Beitrag von DanielSchoepe » 2. Mai 2012 14:25

In the last meeting someone asked if we could use ANTLR instead of JavaCC for parser generation. After taking a brief look at JavaCC (and noticing wonderful things like the "Documentation" link on its website being dead*) I was wondering what the answer to that question was.

So, my question is whether it is okay to use ANTLR instead?

* Also, the blinking "New!!!" :)

aderhold
Moderator
Moderator
Beiträge: 212
Registriert: 21. Okt 2005 10:50

Re: ANTLR instead of JavaCC

Beitrag von aderhold » 2. Mai 2012 16:59

The question on ANTLR in the last meeting did not have a particular reason and was just out of interest. Since I have not received any compelling reasons (or any requests at all) for different parser generators so far, JavaCC is up to now the only "accepted" parser generator.

Regarding the dead link to the documentation: The documentation of JavaCC is shipped along with the parser generator itself. You can find the documentation as well as examples in the archive javacc-5.0.tar.gz.

Antworten

Zurück zu „Secure Coding Lab“