[antlr-interest] Re: grammar editor?
Lubos Vnuk
lubos.vnuk at rts.at
Mon Jun 23 04:37:12 PDT 2003
Hi Ed,
I have used a SciTE (http://www.scintilla.org/SciTEDownload.html)
which can't compete with Eclipse with the specialized ANTLR plugins
in terms of features but it is 2MB big, it has syntax highlighting
for lots of languages and it has a "fold" feature(collapse/expand)
that I love.
This said, if you use c++ syntax highlighting for *.g files and write
your grammar with a little care of modified comments (wrapping the
rules in the //{ Rule... //} ), you can get a nice collapsed view of
the rules. It can even export your grammar to html with the fold
marks.
If anybody is interested, I could upload the two modified SciTE
configuration files plus a sample grammar file in the Files section.
Lubos.
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
More information about the antlr-interest
mailing list