Re: [Partially OT] A Java parser - part 2

1999-11-22 Thread Vincent Risi
Michael Emmel wrote: > Vincent Risi wrote: > > > Andreas Rueckert wrote: > > > > > Hi! > > > > > > On Thu, 18 Nov 1999 Paul Mclachlan wrote: > > > > > > The next problem occured when I wanted 2 parsers to use the same base classes > > > for the AST. Never managed to do that, and I couldn't patc

Re: [Partially OT] A Java parser - part 2

1999-11-21 Thread Ted Neward
What about EBNF? That's pretty standardized, no? Ted Neward http://www.javageeks.com/~tneward On Sun, 21 Nov 1999, Michael Emmel wrote: > Vincent Risi wrote: > > > Andreas Rueckert wrote: > > > > > Hi! > > > > > > On Thu, 18 Nov 1999 Paul Mclachlan wrote: > > > > > > The next problem occured

Re: [Partially OT] A Java parser - part 2

1999-11-21 Thread Michael Emmel
Vincent Risi wrote: > Andreas Rueckert wrote: > > > Hi! > > > > On Thu, 18 Nov 1999 Paul Mclachlan wrote: > > > > The next problem occured when I wanted 2 parsers to use the same base classes > > for the AST. Never managed to do that, and I couldn't patch JavaCC, since there > > were no sources a

Re: [Partially OT] A Java parser - part 2

1999-11-21 Thread Vincent Risi
Andreas Rueckert wrote: > Hi! > > On Thu, 18 Nov 1999 Paul Mclachlan wrote: > > The next problem occured when I wanted 2 parsers to use the same base classes > for the AST. Never managed to do that, and I couldn't patch JavaCC, since there > were no sources available. TLA's are fine if you kno

Re: [Partially OT] A Java parser - part 2

1999-11-20 Thread Andreas Rueckert
Hi! On Fri, 19 Nov 1999 Louis Tribble wrote: >| You may use the Software to generate software program(s) ("Developed >| Programs"). Sun claims no rights in or to the Developed Programs. > >Note especially the last sentence. So you changed your license? I remember that Sreeni said on the

Re: [Partially OT] A Java parser - part 2

1999-01-17 Thread Louis Tribble
Andreas Rueckert wrote: > I've used JJTree a while ago and had some problems. It started with the simple > fact, that the Java grammar and all derived work was copyrighted by Metamata, > so I couldn't include it in my work. Make sure this copyright has changed, if > you want to share your work. J

Re: [Partially OT] A Java parser - part 2

1999-01-17 Thread Michael Emmel
Andreas Rueckert wrote: > Hi! > > On Thu, 18 Nov 1999 Paul Mclachlan wrote: > > > > >Having said that, if I wanted to do something like this, I would use > >JavaCC, or, specifically, the "jjtree" tool in JavaCC. jjtree will > >automatically parse the file into an OO structure ready for mani

Re: [Partially OT] A Java parser - part 2

1999-01-17 Thread Andreas Rueckert
Hi! On Thu, 18 Nov 1999 Paul Mclachlan wrote: >Having said that, if I wanted to do something like this, I would use >JavaCC, or, specifically, the "jjtree" tool in JavaCC. jjtree will >automatically parse the file into an OO structure ready for manipulation. >(ie, you might set it up to c

Re: [Partially OT] A Java parser - part 2

1999-01-16 Thread Ulli Kortenkamp
> "Andrea" == Kontorotsui <[EMAIL PROTECTED]> writes: Andrea> What I want to do is a tool that "flattens" the class Andrea> hierachy to improve performance. Try JAX (from http://www.alphaworks.ibm.com). It does exactly what you want. Unfortunately, the JAX project is no longer su

Re: [Partially OT] A Java parser - part 2

1999-01-16 Thread Michael Emmel
Kontorotsui wrote: > Hello, > first of all many thanks to all the people who kindly answered. > > I've collected many different advices on Java parsers, so maybe it is wiser to > explain my purpose. > I noticed that java performance decreases dramatically as more and more classes > and ob

Re: [Partially OT] A Java parser - part 2

1999-01-16 Thread Paul Mclachlan
At 18:43 11 Nov 1999 +0100, Kontorotsui wrote: > What I want to do is a tool that "flattens" the class hierachy to improve > performance. In this way I'll be able to write properly structured code but the > tool will cut away performance-wise useless classes and method before I compile. > I know

[Partially OT] A Java parser - part 2

1999-01-16 Thread Kontorotsui
Hello, first of all many thanks to all the people who kindly answered. I've collected many different advices on Java parsers, so maybe it is wiser to explain my purpose. I noticed that java performance decreases dramatically as more and more classes and object instances are created. F