Re: Most common used java parser generator

"Eric" <englere.geo@yahoo.com>
22 May 2006 02:10:15 -0400

          From comp.compilers

Related articles
Most common used java parser generator franku@fmi.uni-passau.de (Ulrich Frank) (2006-05-18)
Re: Most common used java parser generator drikosv@otenet.gr (Evangelos Drikos) (2006-05-22)
Re: Most common used java parser generator englere.geo@yahoo.com (Eric) (2006-05-22)
Re: Most common used java parser generator franku@fmi.uni-passau.de (Ulrich Frank) (2006-05-26)
| List of all articles for this month |
From: "Eric" <englere.geo@yahoo.com>
Newsgroups: comp.compilers
Date: 22 May 2006 02:10:15 -0400
Organization: http://groups.google.com
References: 06-05-061
Keywords: Java, parse
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
others).


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.


Eric



Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.