clojurejs
clojurejs copied to clipboard
A naive Clojure to javascript translator
When I try (use 'clojurejs.js) in lein repl using Clojure 1.5.1 I get this error: CompilerException java.lang.IllegalArgumentException: Duplicate case test constant: quote, compiling:(clojurejs/js.clj:487:5)
Multiple arity support for the `defn` and `fn` forms could be implemented by conditionally dispatching on the Javascript Function.length property.
Since macro expanders are kept in a single global ref, macros with the same name in different clojurejs scripts will overwrite one another, which is bad. Since, macro definitions need...