JavaCC is a compiler compiler for Java. It is similar to lex/yacc. Your output is a set of Java classes that can parse data defined by your grammar. This includes JJTree, a preprocessor that greatly simplifies the construction of abstract syntax trees. Also included is JJDoc, a tool that can generate documentation for your grammar. WWW: https://javacc.dev.java.net/ - Andy Gerweck gerweck@yahoo.com