antlr / stringtemplate4

StringTemplate 4
http://www.stringtemplate.org
Other
955 stars 231 forks source link

Can we have operators within if statemens as a feature #281

Closed AnudeepKonaboina closed 3 years ago

AnudeepKonaboina commented 3 years ago

Is it possible to add a feature that actually does checks in if statements. Example:

test (data)::=<<
$if(data.num=3)$true$else$false$endif$
>>
parrt commented 3 years ago

hi. :) Nope. sorry. See https://dl.acm.org/doi/10.1145/988672.988703