[antlr-interest] Autoloading an stg file

Imre András iar73 at freemail.hu
Sat Dec 6 15:36:25 PST 2008


Hi,

Is there an automatic way of loading an stg template group file for a parser?

Lets suppose I have a grammar called MyGrammar.g. The generated MyGrammarParser will automatically have a template group assigned to it, named MyGrammarParserTemplates. It would be nice to have a way to load it from a likely named stg file, without the need of explicitly specifying that filename.


Thanks,
  András
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20081207/c62f78e0/attachment.html 


More information about the antlr-interest mailing list