i wondering if work. in java, use 'null' make nothing. work?
object nil = null;
could use nil
instead of null
? thanks!
java doesn't allow this.
however, if want achieve sort of syntax whilst being able run code on jvm (and other java code), @ groovy, has operator overloading (and use dsls short syntax have similar effects using custom operators).
note defining custom operators (not overloading) big deal in language, since have able alter lexer , grammar somehow.
Comments
Post a Comment