[stringtemplate-interest] Conditional statements
Terence Parr
parrt at cs.usfca.edu
Sat May 6 16:57:34 PDT 2006
On May 6, 2006, at 4:31 PM, Sohail Somani wrote:
> On Sat, 2006-05-06 at 15:14 -0700, Terence Parr wrote:
>>> So, in the case of formatting, wouldn't it be helpful if the
>>> template had some
>>> evaluative capabilities that go beyond boolean evaluation??
>>
>> I submit that it is unnecessary and worse just make ST an "me too"
>> engine; nothing special. ;)
>
> I'm still unclear as to how ST allows the view to generate a table
> with
> alternating row/column colours. Is there an example of this?
sure...here's a column example
<columnDataElements:red(), green()>
Ter
More information about the stringtemplate-interest
mailing list