Preffered lambda syntax?
- by Roger Alsing
I'm playing around a bit with my own C like DSL grammar and would like some oppinions.
I've reserved the use of "(...)" for invocations. eg:
foo(1,2);
My grammar supports "trailing closures" , pretty much like Ruby's blocks that can be passed as the last argument of an invocation.
Currently my grammar support trailing closures like this:
…