[stringtemplate-interest] Limited control flow with stringtemplate - by design?

Sohail Somani sohail at taggedtype.net
Wed Nov 16 11:16:45 PST 2005


On Wed, 2005-16-11 at 09:35 -0800, Terence Parr wrote:
> On Nov 15, 2005, at 8:20 PM, Sohail Somani wrote:
> 
> > On Tue, 2005-15-11 at 11:35 -0800, Terence Parr wrote:
> >>
> >>
> >> Does this help?
> >
> > Actually my problem was really dumb easy... I really ended up putting
> > the logic into my parser instead of my template so thats great \o/
> 
> Hi Sohail,
> 
> Isn't it amazing how forcing "the right" thing actually pays off even  
> though it's a pain sometimes? :)  Hooray!  ST's key distinguishing  
> feature is the strict enforcement :)

Yep. I rarely do the wrong thing on purpose. In this case, it was
because I'm a total ST n00bio and I'm not used to it. I actually came up
with the template("double") thing while I wrote that email and went with
that solution.

I just need to spend some time getting my darn comments translated as
well (I know how to do it) and then I'll be golden. I might even write
YAT (yet another tutorial) \o/

Sohail



More information about the stringtemplate-interest mailing list