Why clojurescript macros can't be written in clojurescript?
问题 While clojure and clojurescript features are basically the same (apart from obvious differences), macros are not. When I want a macro in clojurescript I have to write it in clojure and require it with require-macros. Is that a technical limitation of javascript or just a design decision? Why can't both be the same? 回答1: From ClojureScript: Up and Running by Stuart Sierra and Luker VanderHart, page 69: Macros are applied during the compilation process. They do not exist at runtime. Because the