[stringtemplate-interest] Mappings inside of string template
brian at protexis.com
brian at protexis.com
Thu Jul 27 10:09:36 PDT 2006
Hey
I'm sorry but nothing is wrong. I was just using the embedded loaders
incorrectly. I apoligize for wasting your time.
I've really found the lack of detailed VS 2005 samples to be a problem in
learning how to use the string template library correctly. If I create a
couple example projects using string template would you be willing to add
them to the string template site?
Thanks
-----Original Message-----
From: "Kunle Odutola"
Sent: Wed, July 26, 2006 11:11
To: stringtemplate-interest at antlr.org
Subject: Re: [stringtemplate-interest] Mappings inside of string template
Brian
> Hi
>
> I asked the previous question because either there is a bug in the VS 2005
> String Template library or I'm stupid. I think it's because I'm stupid. :)
>
> If I create the following stg file ...
>
> group test;
>
> mapping ::= ["One":"1", default:"0"]
>
> .. then I create the following st file ....
>
> $mapping.One$
>
> .. then the results are an empty string.
>
> Am I doing something wrong? Should I include my C# code as well.
Can't say yet but, I am not aware of any outstanding issues with maps in the
ST#. And, yeah...paste the relevant C# code.
>From your description above above, I suspect that you are talking about two
separate files here (i.e. the template is not defined in the group file but
in a separate *.st file).
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