It sounds like you want to parse Java source code. One good place to
look is the Kopi compiler; it's GPL and written in Java.
http://www.dms.at/kopi/index.html
There are also Java parsers written for Sun's JavaCC (Java Compiler Compiler).
And if you're looking for something in C++, there are always the Jikes
Compiler and GNU gjc projects.
Nathan
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*)?
>
> ---
> Andrea "Kontorotsui" Controzzi - MALE Student of Computer Science at
> University of Pisa - Italy - E-mail: [EMAIL PROTECTED]
> My home page: http://www.cli.di.unipi.it/~controzz/intro.html
>
> Founder and Admiral of Hoshi no Senshi (italian Leiji Matsumoto's fan group).
> Creator of It.Arti.Cartoni (italian anime newsgroup) and proud member of...
>
> +-------------------------------------------------------------+
> | . * . |
> | . __ . . |
> | oq | po _ _ |
> | / #==>>>==# ,-' (_)\ |
> | | ,-|~\\ ///_ ,() ,_____} |
> | | |/|~]]] /// ,-~' .,~ / \| . |
> | |\_|_|_\_\~~----~~' \ ( /| . |
> | . /~ \___/ [m] \ \__// |
> | _bo..__ // `-,.~~ |
> | _-~ 0000000000000ooooo.__ ( . |
> | \ 000000000000000000000000o . |
> | . (_)0000000000000000000000 |
> | . \~~~*,,,* ~000000000000000000 |
> | ~0000000000000 . |
> | ~~~---~~ |
> | .* |
> +-------------------------------------------------------------+
> | An e-mail network of Space Cruiser Yamato and |
> | StarBlazers Fans |
> +-------------------------------------------------------------+
>
>
> ----------------------------------------------------------------------
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]