[antlr-interest] Re: ANTLR+Eclipse
Richard Clark
rd_clark at sbcglobal.net
Wed Jul 21 07:35:39 PDT 2004
On Jul 20, 2004, at 20:08, Thomas Brandon wrote:
> The Antlr eclipse plugin implements such functionality. It does
> syntax highlighting and produces an outline of the grammar. I'm not
> 100% familiar with the code but it appears to be using the builtin
> Eclipse support to do the syntax highlighting and an Antlr parser to
> do the outline view.
Yes, it's using Eclipse's built-in editor support to do the
highlighting. However, it doesn't use an ANTLR parser (in the usual
sense) to do the outline generation but uses the ANTLR preprocessor's
source wrapped with alternate versions of ANTLR's internal data
structures that act as the glue between that preprocessor and the
editor.
I'm not the original author of the plugin, but recently added several
enhancements to the plugin. Unfortunately, due to the way it uses ANTLR
internals, I have not been able to lift out the old ANTLR source and
replace it with a more modern version, so some of the more recent
constructs go unrecognized.
...Richard
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