[antlr-interest] 3.0 multiple language support

Terence Parr parrt at cs.usfca.edu
Sat Jul 31 16:04:33 PDT 2004


On Jul 30, 2004, at 10:38 PM, Tom Moog wrote:

>
> The problem of maintaining one grammar with language
> dependent actions may be partly due to our inclination
> to think of grammars as simple text files.  Imagine that
> we used a text editor which could maintain multiple
> versions of a file.  Such things exist for technical
> documentation.  I remember reading that this was used
> for airplane maintenance manuals so that common
> features were updated for all airplanes, while
> new models could have custom sections.  A printout
> was customized according to the model selected.

Yes, this is what we've considered for an IDE: use revision control not 
inheritance to change actions.  You are essentially forking a new 
branch.  Changes can be pushed forward with diff3 like behavior. :)

Ter
--
CS Professor & Grad Director, University of San Francisco
Creator, ANTLR Parser Generator, http://www.antlr.org
Cofounder, http://www.jguru.com
Cofounder, http://www.knowspam.net enjoy email again!
Cofounder, http://www.peerscope.com pure link sharing





 
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