|Looking for a parser generator recommendation firstname.lastname@example.org (Exits Funnel) (2004-07-19)|
|Re: Looking for a parser generator recommendation email@example.com (Carl Cerecke) (2004-07-20)|
|Re: Looking for a parser generator recommendation firstname.lastname@example.org (Sreenivasa Viswanadha) (2004-07-20)|
|Re: Looking for a parser generator recommendation email@example.com (Daniel C. Wang) (2004-07-20)|
|Re: Looking for a parser generator recommendation firstname.lastname@example.org (Etienne Gagnon) (2004-07-20)|
|Re: Looking for a parser generator recommendation email@example.com (2004-07-28)|
|From:||Sreenivasa Viswanadha <firstname.lastname@example.org>|
|Date:||20 Jul 2004 19:44:28 -0400|
|Posted-Date:||20 Jul 2004 19:44:27 EDT|
Exits Funnel wrote:
> I'm looking for a parser generator which meets the following requirements
> 1) LALR
> 2) Generates a parser in Java.
> 3) The generator itself (as opposed to just the generated code) must run
> cross platform (ie, probably be java).
> 4) The generated code and any support libraries must be explitly usable
> in commercial software. Unfortunately, our legal department has deemed
> even the Lesser GPL unacceptable. I guess that means I'm looking for
> either something commercial or something in the public domain.
> 5) This one's not absolutely necasarry but it would be great if the tool
> supported the generation of some kind of an intermediate form (parse
> tree?) rather than just allowing embedded actions in the rules.
If you just relax requirement 1 above, you can use javacc that generates
LL/recursive descent parsers:
It simply generates java code. It uses *NO* libraries apart from the IO
libraries from JDK.
It is licensed under BSD. It has a companion tree generator (jjtree).
More over, it has an active user group and readily available help on
newsgroup: comp.compilers.tools.javacc and users mailing list.
Return to the
Search the comp.compilers archives again.