[antlr-interest] I am using ANTLRWorks, How do I specify the template that it should use for generation.

Garry Watkins garry at dynafocus.com
Fri Aug 26 09:14:52 PDT 2011


I am working on a DSL and I want to use StringTemplate to generate the
output.  What should the .stg be named and where should I put it so
ANTLRWorks can find it.

Assume that I am using the following:

grammar MyGrammar.g which produces an AST
generator MyGenerator.g output = template

These are both currently saved on my Desktop.  The output folder is
Desktop/output.

-- 
Garry Watkins
Managing Director
DynaFOCUS, LLC
(843) 608-8004 (google voice)
(843) 276-6808 (cell)


More information about the antlr-interest mailing list