[antlr-interest] Re: antlr 3 stuff

lgcraymer lgc at mail1.jpl.nasa.gov
Wed Mar 17 16:38:31 PST 2004


Monty--

I tend to think that this is part of what a language workbench is about--refactoring support, tree visualization, and all of the other stuff 
that would make it feasible to tweak a translator fast.  It would be nice if we could figure out how to preserve refactorings when 
regenerating tree grammars.  (On glancing over the paper you mention, "metamorphism"  == refactoring).

Macros I consider both very useful and very evil.  I think that a reasonable refactoring editor would be a better approach.  And it might 
be useful if ANTLR inlined rules--that would cover the "syntax macros" and improve performance.

--Loring


--- In antlr-interest at yahoogroups.com, mzukowski at y... wrote:
> I'd like to explore the 'language extension' space for antlr 3.  To me
> developing a grammar and extending a grammar are very distinct phases of
> antlr coding.  Plenty of people download grammars and just want to tweak
> them with actions or a small bit of new syntax.  In "Growing Languages with
> Metamorphic Syntax Macros" by Claus Brabrand and Michael I. Schwartzbach at
> http://www.brics.dk/bigwig/publications/#macro they present a system that
> makes it safe for people to extend languages by not letting them do stupid
> things that have huge side effects.  When the time comes I'll re-read the
> paper again and try and convince Ter & Loring.
> 
> Monty
> www.codetransform.com



 
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