[antlr-interest] make rules for *.g -> outputs

Bryan Ewbank ewbank at synopsys.com
Fri Dec 3 08:18:57 PST 2004


Hi Folks,

I'm trying to figure out makefile rules for files generation using ANTLR,
and have run into the question of how to handle the *TokenType.txt (and
.hpp) files in a general way.  The rules for .g.cpp and .g.hpp are
relatively easy - as are those for grammar inheritance - but the
TokenType.txt files are problematic because of how they flow from grammar to
grammar.

Any ideas, suggestions, etc?

- Bryan Ewbank
"The best tool for requirements analysis and design is a crayon"



 
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