[stringtemplate-interest] Force single-valued template

Sohail Somani sohail at taggedtype.net
Sat Nov 19 23:19:11 PST 2005


Is there a way to force a single valued template?

For example:

foo(bar)::=<<
<bar>
>>

I want foo to die if there is more than one bar. Is there another way to
approach this?

Thanks

Sohail



More information about the stringtemplate-interest mailing list