[stringtemplate-interest] File based templates and maps.

Terence Parr parrt at cs.usfca.edu
Tue Oct 24 09:28:59 PDT 2006


On Oct 23, 2006, at 2:13 PM, Caleb Lyness wrote:
>> I think leaving it as $map.(any random shite)$ is probably best.
>> Otherwise, we will need to allow $map.:$ etc...
>>
> I can understand that :-) That syntax would be nasty to read and  
> pain to parse.
>
> Not quite right, currently one must use:
> $map.("any random shite")$ and when placed inside a quoted string  
> these must be escaped.

oh, right $map.("key")$ would be correct.

Ter

> The question is if you want to force the use of the quotes as well?  
> Or did I misunderstand
> and you are saying you will support
> $map.(any random shite)$
> i.e. fix the problem which can be seen with the .(first)? example.
>
> Cheers
>     Caleb
>
> _______________________________________________
> stringtemplate-interest mailing list
> stringtemplate-interest at antlr.org
> http://www.antlr.org:8080/mailman/listinfo/stringtemplate-interest

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org:8080/pipermail/stringtemplate-interest/attachments/20061024/959e222d/attachment.html 


More information about the stringtemplate-interest mailing list