Search code examples
clojure

If clojure is compiled to byte-code, why is there java source for clojure?


I feel like this is a noob question, but if clojure is compiled to byte code then why is there java source for the clojure lang?


Solution

  • Some axioms:

    • Clojure code that one writes in Clojure is compiled to bytecode.
    • Java code that one writes in Java is also compiled to bytecode.
    • Some core parts of Clojure is written in Java.