[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

seeking an OO or functional parser generator for Java

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/ //