|Most common used java parser generator email@example.com (Ulrich Frank) (2006-05-18)|
|Re: Most common used java parser generator firstname.lastname@example.org (Evangelos Drikos) (2006-05-22)|
|Re: Most common used java parser generator email@example.com (Eric) (2006-05-22)|
|Re: Most common used java parser generator firstname.lastname@example.org (Ulrich Frank) (2006-05-26)|
|Date:||22 May 2006 02:10:15 -0400|
|Posted-Date:||22 May 2006 02:10:15 EDT|
You didn't mention the Gold Parser generator (LALR). I don't know if it
supports Java, but it seems to support more languages than any other
open source tool.
Overall (not Java specific), I'm sure LALR is much more popular because
of the history of yacc/lex. There's been a lot of tools based on the
same ideas as the orignal yacc/lex (Flex and Bison and dozens of
You also didn't mention Coco/R. This is LL and pretty easy to use. I
prefer LL because you can get a recursive descent parser that is easier
to debug than the table-driven parsers made by LALR tools.
Most modern implementations of LL support attributes on the grammer to
get around some of the limitations, to enhance error handling, and to
make it easier to generate your AST, and ultimately your final code.
I can't tell you anything about LR parser tools.
Return to the
Search the comp.compilers archives again.