At 02:38 PM 4/26/00 -0400, you wrote:
>Paul,
>
> I should have thought to mention this when I first heard you were
>working on using a compiler-generator for JDE parsing. If you don't
>already know about it, you may find it useful to refer to the Java
>grammar distributed with JavaCC, which can be found by visiting
>http://www.metamata.com/JavaCC/external.html and searching for heading
>"Grammars for Java 1.2".
>
> Even though this will obviously not be in exactly the format you
>need, it may be closer to the right form than the published Java BNF,
>since JavaCC is yet another compiler-compiler.
>
> Cheers, -CR
>
>(Btw, I have used JavaCC and like it a lot. It is a little hard to
>learn at first, but very elegant and flexible.)
>
Hi Charles,
Take a look at the jde-parse command. Then peek into
jde-2.1.6beta23/java/src/jde/parser. There you will find the source for a
complete parser for the Java language generated by javaCC. The compiled
parser is in java/classes and is used by the jde-parse command.
- Paul
------------------------------------------------------------
TECH SUPPORT POLICY
I respond only to requests that contain a complete problem report. The
easiest way to ensure that your report is complete is to include the output
of the JDE->Help->Submit Problem Report command in your request.
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
JDE website: http://sunsite.auc.dk/jde/
JDE mailing list archive:
http://www.mail-archive.com/[email protected]/maillist.html