[antlr-interest] working examples for StringTemplate4 and C#? (I'm stuck again)

Voelkel, Andy andy.voelkel at plantronics.com
Sun Oct 30 15:05:07 PDT 2011


Hi,

I'm getting stuck trying to start using template group files. I try this to open my .stg file:

TemplateGroup Tg = new TemplateGroupFile("RTX.stg", '<', '>');

.. and I get a UriFormatException, "The format of the URI could not be determined".

Are there any working examples of using ST4 with C# that anyone could point me to? I'll gladly update the ST4 Wiki (which seems to be out of date) as I get simple examples working.

Or would I be better off just sticking with ST3?


-          Andy

________________________________

CONFIDENTIALITY NOTICE: This e-mail transmission, and any documents, files or previous e-mail messages attached to it, may contain information that is confidential and/or legally privileged. If you are not the intended recipient, or a person responsible for delivering it to the intended recipient, please DO NOT disclose the contents to another person, store or copy the information in any medium, or use any of the information contained in or attached to this transmission for any purpose. If you have received this transmission in error, please immediately notify the sender by reply email or at privacy at plantronics.com, and destroy the original transmission and its attachments without reading or saving in any manner.

For further information about Plantronics - the Company, its products, brands, partners, please visit our website www.plantronics.com.


More information about the antlr-interest mailing list