|converting to Java firstname.lastname@example.org (Davide Rizzo) (2003-02-12)|
|Re: converting to Java email@example.com (Scott Nicol) (2003-02-13)|
|Re: converting to Java firstname.lastname@example.org (Sreenivas Viswanadha) (2003-02-21)|
|From:||"Scott Nicol" <email@example.com>|
|Date:||13 Feb 2003 00:43:45 -0500|
|Posted-Date:||13 Feb 2003 00:43:45 EST|
"Davide Rizzo" <firstname.lastname@example.org> wrote in message
> How can I quicly convert (with little modifications) a Bison+Flex language
> into some Java parser generator? Which one I should use?
There are many non-lex/yacc scanner/parser generators available for Java,
but if you want a quick port, I'd stick with what you have.
I've used BYACC/J http://troi.lincom-asg.com/~rjamison/byacc/ with success.
It is Berkeley YACC that outputs Java code. I don't know of Bison port, but
it shouldn't matter much unless your code is married to one of the Bison
For lex, there is jflex http://www.jflex.de/. I haven't tried it. It is
_not_ flex, but apparently it is reasonably close, and there is a section in
the documentation on porting from lex/flex to jflex.
Return to the
Search the comp.compilers archives again.