|Java based parser generators email@example.com (2000-10-08)|
|Re: Java based parser generators firstname.lastname@example.org (Paulo Pinto) (2000-10-10)|
|From:||Paulo Pinto <email@example.com>|
|Date:||10 Oct 2000 00:52:20 -0400|
Charles Bruce Bornstein wrote:
> I am taking a compiler construction course and need to construct a
> parser using "an LR(1) parser generator like yacc or bison". My
> question regards yacc/bison analogues in Java. I have read some about
> JavaCC and ANTLR, but have not been able to determine if either of
> those fit the bill. Specifically, are these LR(1) parsers? If not,
> what makes them different from LR(1) parsers?
They are LL(k) parsers. Which means that if you really need a LR(1)
parser generator, they won't fit your bill. Besides the LL(k) parser
component, they also have a scanner generator and AST builder with
tree navigation support.
Hope to have helped
Paulo Pinto, uRD Software Engineer
Altitude Software (formerly Easyphone)
Return to the
Search the comp.compilers archives again.