with/requires is broken
Submitted on 10 February 2010 at 13:02
Issue Log
On 3 July 2013 at 11:26 Elmer van Chastelet commented:
What’s the purpose of
requires
andwith
? Can’t find documentation about these constructs.
"requires" {TemplateArg "," }* -> TemplateArgs{cons("TemplateArgs"), prefer}
"with" "{" ArgDefine* "}" -> TemplateBody {cons("TemplateWith")}
On 29 October 2013 at 17:29 Danny Groenewegen commented:
It is a first attempt to get higher-order templates (pass template definitions as arguments), however, the syntax is a bit verbose (hard to remember) and should be changed. We could include them in the regular arguments similar to Mobl.
example of the current implementation: https://svn.strategoxt.org/repos/WebDSL/webdsls/trunk/test/succeed-web/withtest1.app
On 29 October 2013 at 17:29 Danny Groenewegen closed this issue.
On 29 October 2013 at 17:33 Danny Groenewegen commented:
Log in to post comments