[antlr-interest] 3.0 multiple language support

Tom Moog tmoog at polhode.com
Fri Jul 30 22:38:08 PDT 2004


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.

Another way of looking at this, is that we can
have multiple views of a grammar. Textual vs. graphical.
The graphical emphasizes the ebnf while the textual
emphasizes the actions.  Text view A is c++ while
text view B is java.



 
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