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*)?
JavaCC is a free parser generator written in Java which generates Java
code. It includes a (rigorous) Java grammar and at least one source
code transformation example.
It was recently moved from Sun's web site to Metamata's:
http://www.metamata.com/javacc
Louis Tribble
--
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Louis Tribble [EMAIL PROTECTED]
Metamata, Inc. http://www.metamata.com
Tools for serious Java developers. +1 510 796 0915
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]