So if i read the article correctly,
clr-field-set! have been modified to infer the type based on the instance argument."
clr-call no longer requires an object type to be specified and instead uses reflection???
I would actually like to ruthelessly break all conventions too make a reader syntax that is short, sweet, and concise! Preferably, i would like to use dot notation though i noticed that one can't define anything with a dot
in it as a function name.
This is similar to clojure's notation. -->
(.methodName object arg1 arg2)--> calling a method on an object
(ClassName. arg1 ....) -->creating a class, expands to (new "ClassName" arg1 arg2) . So we have selective uppercase in our reader macro.
(.. object (method1 ...) (method 2)) --> equivalent to something like object.method1(...).method2(...);
(%PropertyName object) and %Static.Property.Name
(set! (%PropertyName object) value) and (set! (%Static.PropertyName object) value) --> using set! extension
($FieldName object) and $Static.Field.Name
(set! (%FieldName object) value) and (set! $Static.Field.Name value)
So how much effort would be required to add in custom readtables per moduleX) Most of the above syntax would involve modifying the Open Parentheses , $, and % reader macros.