4 ms·
> Sweet.js brings the hygienic macros of languages like Scheme and Rust So it seams to clojure macro system is more powerful. That said that does not mean its
by nickik 12y ago
> Sweet.js brings the hygienic macros of languages like Scheme and Rust
So it seams to clojure macro system is more powerful. That said that does not mean its better.
- klibertp 12y agoOf course, Sweet.js provides means for breaking hygiene. Also, Clojure macros are kind-of, a-little-bit hygienic, with their rules for identifiers resolution. Anyway, I'd say they're rather similar in expressivity and capabilities, but I don't know both macro systems well enough to do detailed comparison.
- kul_ 12y agoyou can break hygiene in clojure macros using classical anaphoric macros. I guess that holds for clourescript as well.