Hi, the major reason for not writing such a gramar in ANTLR would be that a lot of such libraries exist, most notably perhaps BCEL (Byte Code Engineering Library, formerly JavaClass, at http://bcel.sourceforge.net) which is quite mature. Ciao, Tom Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/