3 ms·
For one thing, one might get interoperability with clojure libraries (at least those that aren't just wrappers around java libraries). For another thing, clojur
by slyrus 13y ago
For one thing, one might get interoperability with clojure libraries (at least those that aren't just wrappers around java libraries). For another thing, clojure has some nice language features and I'm all for supporting multiple lispy dialects on top of various compiler/runtime environments. My personal wish is to have clojure running on SBCL with trivial interoperability between common lisp and clojure code.
- DigitalJack 13y agoClojure was initially implemented on cl. You should be able to find the lisp version in the history of the repo somewhere. Might be an interesting starting point.
- brandonbloom 13y ago> Clojure was initially implemented on cl. Really? I thought Clojure evolved out of Rich's never-finished CL-subset-on-JVM implementation.
- arohner 13y agoI'm pretty sure this is wrong. Rich originally made two other JVM/lisp hybrids, one was running java code inside CL, the other was CL on the JVM. [1] Clojure originally targeted the JVM and CLR, but AFAIK, one of the main motivators was always to run on a major platform. http://sourceforge.net/projects/jfli/ http://sourceforge.net/projects/jfli/
- lispm 13y agoHe did not made any Lisp/JVM hybrids. More like foreign object interfaces to Java and .net. One was a Lisp(Works) FFI to Java (jfli) and the other was a generalized version of that (foil). I have seen too the early sketch of Clojure in CL. Look here: http://clojure.googlecode.com/svn-history/r454/trunk/src/lisp/ http://clojure.googlecode.com/svn-history/r454/trunk/src/lis...
- arohner 13y agoRight, I didn't mean to imply that jfli and foil were new languages. I didn't realize there was a CL version of the compiler, cool! Thanks for the link.
- wes-exp 13y agoClojure running on SBCL seems like a no-brainer. I do not know why this does not exist. SBCL is super high-performance and the underlying lisp semantics should be a perfect fit.
- rsanders 13y agoClojure is intended to be a hosted language. Building on and providing first class access to a rich ecosystem of libraries and tools was an explicit goal.