On Sun, 2002-04-21 at 09:55, Erik Hatcher wrote:
> You may want to have a look at what the XDoclet folks are doing.  They have
> written a javadoc replacement called xjavadoc that uses JavaCC to parse Java
> files, primarily to pull out @tags, but also to pull out source code too, I
> believe.
> 
> Perhaps you're reinventing what they've already done?!  Worth a look at
> least!

Javadoc parsing is slightly tricky but it's not that complicated. The
java parser will eventually be complete: space preservation, support for
aspects and couple other things up my sleeve.

If the license is compatible (which I imagine it's not) then we can just
lift the production for javadoc out of their grammar. If the license is
fine then I'll take a look if not I won't look at the code.
 
>     Erik
> 
> 
> ----- Original Message -----
> From: "Pete Kazmier" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Sunday, April 21, 2002 9:12 AM
> Subject: Re: JavaDoc grammar busted in Java Parser module.
> 
> 
> > On Sun, Apr 21, 2002 at 10:33:49PM +1000, [EMAIL PROTECTED] wrote:
> > > Our JavaDoc grammar is currently broken, in that any '@' symbol
> signifies
> > > a new tag has started. this breaks tags like this:
> >
> > Yup.  The javadoc grammer is still being worked on, aside from that
> > problem it still won't even sucessfully parse all of the files.  I'm
> > going to work on this in the next few days.  It just may take me a
> > little bit since I'm new to javacc :)
> >
> > This isn't currently breaking anything is it?
> >
> > Thanks,
> > Pete
> >
> >
-- 
jvz.

Jason van Zyl
[EMAIL PROTECTED]

http://tambora.zenplex.org

Reply via email to