[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: seeking an OO or functional parser generator for Java
Have you looked at the toolkit used in Steven Metsker's "Building
Parsers with Java"? I haven't actually read it, but I think it's
something like what you're looking for.
http://www.oozinoz.com/bpwj.htm
Seth Gordon <sethg@ropine.com> wrote:
>I need to write a lexer and parser in Java. I've looked at JFlex/CUP
>and ANTLR, but I'm wondering if anyone has made a decent parser
>generator in Java that uses Java objects, not text files with snippets
>of Java code, to describe the grammars.
>
>It seems like taking such an approach would follow "the grain of the
>language" more than the lex-and-yacc approach. But maybe other people
>have tried to write a parser this way and discovered good reasons for
>sticking with the old ways.
>
>// seth gordon // sethg@ropine.com // http://dynamic.ropine.com/yo/ //
>
Tommy McGuire