Closed causal-agent closed 11 years ago
Here are two more expansions in Clojure we may want to consider:
(Classname/staticMethod args*) ==> (. Classname staticMethod args*)
Classname/staticField ==> (. Classname staticField)
The (.to_s 12)
part of this is now implemented. Parsing Array.
is a bit problematic as the parser currently sees it as an invalid Constant.
This is waiting on #30.
Everything in the OP has now been implemented.
Clojure expands the shorthand form of method sends at macro expansion time:
Apricot should expand the following: