[stringtemplate-interest] C# 3.0?
Jamie Briant
jbriant at highmoonstudios.com
Tue Nov 28 10:31:33 PST 2006
I think my problem is group files. The documentation (both the html file
in the zip and the wiki) load a group file using a string reader, and
then hints that they are named with ".stg". I have large templates that
would best go in a .st file (such as an xml file), but I also have lots
of little templates that I'd like in a .stg file. How does one have the
.stg file reference other templates or groups that they extend??
Thanks!
Jamie
-----Original Message-----
From: stringtemplate-interest-bounces at antlr.org
[mailto:stringtemplate-interest-bounces at antlr.org] On Behalf Of Kunle
Odutola
Sent: Tuesday, November 28, 2006 10:22 AM
To: stringtemplate-interest at antlr.org
Subject: Re: [stringtemplate-interest] C# 3.0?
Hi,
> I tried unsuccessfully using group files with 2.3b5.
They work fine.
> Do you have any example projects that use group files?
The documentation should have examples.
> The specific problem was that it expected
> $foo$ instead of <foo> and I also had trouble trying to figure out how
to
> load group files automatically.
You might need to specify a specific template lexer.
AngleBracketTemplateLexer does <..> and DefaultTemplateLexer does $..$
> Is 3.0 available for download for C#?
Should be on the site. Ter?
Kunle
_______________________________________________
stringtemplate-interest mailing list
stringtemplate-interest at antlr.org
http://www.antlr.org:8080/mailman/listinfo/stringtemplate-interest
More information about the stringtemplate-interest
mailing list