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

Re: seeking an OO or functional parser generator for Java




JavaCC may help: http://javacc.dev.java.net/
"In addition to the parser generator itself, JavaCC provides other
standard capabilities related to parser generation such as tree building
(via a tool called JJTree included with JavaCC), actions, debugging, etc."

There is a repository of grammars at
http://www.cobase.cs.ucla.edu/pub/javacc/

You can scan through that to decide whether the grammar specs are OO
enough for your purposes. I used an earlier version of this software
for a project and it was pretty painless.

Curran