[antlr-interest] syntax highlighting & pretty printing

Brannon King brannonking at yahoo.com
Tue Jan 3 22:41:09 PST 2006


Sweet. This is totally what I need. What can I do to help? The hierarchy 
output is working great for the outline view. It seems we could use the 
grammar to generate the code completion, content assist, syntax 
highlighting, tab rules, etc. -- everything that the eclipse 
SourceViewerConfiguration supports should be easily generated from a decent 
grammar. I just wished I understood the guts of the Eclipse TextEditor 
subclasses better. They are all majorly lacking in documentation.

> I have worked framework to do syntax highlighning and syntax
> checking on the fly. Pretty printing is not included yet.
> But you can generate a editor for eclipse in about 30 min.
> from an existing ANTLR 3(!) grammar.
> As soon as I have finished the proper partitioning algorithms,
> I will release it under FreeBSD or GPL.
> Ter is also thinking on these points - so its just a matter of time :) 



More information about the antlr-interest mailing list