[stringtemplate-interest] File based templates and maps.
Caleb Lyness
caleb.lyness at ezswitch.net
Mon Oct 23 14:13:44 PDT 2006
Hi Ter,
>> By using the ("id") construct one can work around the problem
>> completely. Not just for maps but attributes too. I can understand
>> why this work. But perhaps it would be more convenient to allow
>> atom DOT atomID where atomID is ID or STRING? or fix the more
>> general problem with .(first) and use the brackets as a way to
>> escape from built in identifiers? Cheers Caleb
>>
>
> 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.
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org:8080/pipermail/stringtemplate-interest/attachments/20061023/574d9221/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3269 bytes
Desc: S/MIME Cryptographic Signature
Url : http://www.antlr.org:8080/pipermail/stringtemplate-interest/attachments/20061023/574d9221/attachment.bin
More information about the stringtemplate-interest
mailing list