Re: A Java parser

1999-11-20 Thread Daniel Barclay
> From: Kontorotsui <[EMAIL PROTECTED]> > > > 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*)? Someone has a tool called iDoc (I think) that

Re: A Java parser

1999-11-17 Thread Nathan Meyers
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 ar

Re: A Java parser

1999-11-17 Thread Paolo Ciccone
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:/

Re: A Java parser

1999-11-17 Thread schen
On Wed, 17 Nov 1999, 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*)? www.antlr.org is a Java parser/lexer suite that com

Re: A Java parser

1999-11-17 Thread Louis Tribble
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 c

Re: A Java parser

1999-11-17 Thread Dustin Lang
Hi, > Suppose I want to do a tool that parses the java code and modifies it. You could take a look at Jikes. It's open source, and I've heard of people using Jikes to parse code and then do something instead of compiling it. Of course, it's written in C++, so if you want to write your parser