chlorinejs / chlorine

Main library for Chlorine compiler (a subset of Clojure to javascript)
https://github.com/chlorinejs/lein-cl2c
45 stars 4 forks source link

implement Clojure/Clojurescript property access #48

Closed myguidingstar-zz closed 11 years ago

myguidingstar-zz commented 11 years ago

as mentioned here http://dev.clojure.org/display/design/Unified+ClojureScript+and+Clojure+field+access+syntax

myguidingstar-zz commented 11 years ago

quoted from Rich:

Please remember and retain that (.whatever x) -> (. x whatever) transformation is a (special) macro expansion (and will happen during macroexpand-1). The evaluator only needs to handle (. x whatever)