[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
seeking an OO or functional parser generator for Java
- To: address@hidden
- Subject: seeking an OO or functional parser generator for Java
- From: Seth Gordon <address@hidden>
- Date: Fri, 09 Jan 2004 09:22:19 -0500
- Sender: address@hidden
- User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031013 Thunderbird/0.3
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/ //