[stringtemplate-interest] Force single-valued template

Sohail Somani sohail at taggedtype.net
Sun Nov 20 11:47:07 PST 2005


On Sun, 2005-20-11 at 11:44 -0800, Terence Parr wrote:
> On Nov 20, 2005, at 10:23 AM, sohail at taggedtype.net wrote:
> >>> Also, I would stay away from using :: and such inside your template
> >>> names...i'll probably use :: for group inheritance soon...
> >
> > I look forward to the inheritance! Is there a way to escape the  
> > charaters?
> > It is not possible for me to not use ::
> 
> Why?  What meaning does it have for you?
> 
> I'm thinking of:
> 
> t() ::= "<group::template()>"
> 
> or some such.

Its part of the language I'm translating to (C++). :: is the scope
resolution operator.



More information about the stringtemplate-interest mailing list