On Wed, Nov 17, 1999 at 06:08:54PM +0100, Kontorotsui wrote:
>
> Suppose I want to do a tool that parses the java code and modifies it.
>
> What do you advice me to use? Are there java parsers for Linux?
> If the answer is negative, what can I use? Perl (*groan*)?
Take a look at ANTLR (http://www.antlr.org), it's a parser generator
written in Java that outputs Java and has a Java grammar available in
the package. ANTLR is quite different from Lex/Yacc and, among other
things, uses EBNF, generates tree walkers and tree transformation.
--
Paolo
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]