[antlr-interest] Re: Is antlr the right tool for this job?
lgcraymer
lgc at mail1.jpl.nasa.gov
Thu Aug 19 17:02:41 PDT 2004
--- In antlr-interest at yahoogroups.com, William Bland <wjb at a...> wrote:
...
> It looks to me though, like antlr could be the right tool for the job.
> If I understand correctly, I could generate an AST from our Java source,
> then walk the tree and pull out all the pieces of information I'm
> interested in.
>
> Does this sound reasonable, or am I wanting antlr to do things it's not
> really designed for?
This is quite reasonable, and not a large task since Ter and others
already maintain a Java grammar (with rather wide-scale usage). Also,
take a look at O'Connor's Java Cross Reference tool
(<http://www.antlr.org/share/1073500619580/JavaCrossRef.zip>)--you may
be able to use that as a starting point, simplify, then expand.
--Loring
> Thanks very much for your help.
>
> Cheers,
> Bill.
> --
> Dr. William Bland www.abstractnonsense.com
> Now listening to Nothing (Media player is not running)
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/antlr-interest/
<*> To unsubscribe from this group, send an email to:
antlr-interest-unsubscribe at yahoogroups.com
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
More information about the antlr-interest
mailing list