3 ms·
"runs under CLisp, SBCL, Clojure, Scheme, Ruby, Python, the JVM, Haskell and Javascript" Wow, someone really likes writing compilers...
by tormeh 12y ago
"runs under CLisp, SBCL, Clojure, Scheme, Ruby, Python, the JVM, Haskell and Javascript"
Wow, someone really likes writing compilers...
- chadzawistowski 12y agoMark Tarver originally wrote Qi, which exclusively ran on top of Common Lisp. Qi was refactored as Shen, which is implemented on a small core and is thus very portable. IIRC Mark only maintains the Common Lisp implementations, and the rest were implemented by the community.
- tormeh 12y agoHow can something, no matter how small core it has, be very portable from CL to Haskell?
- chadzawistowski 12y agoShen doesn't execute directly, it's compiled to K-lambda, a very small, simple, lisp-as-bytecode. K-lambda is very portable, and wherever K-lambda can run, so can Shen. Details here: http://www.lambdassociates.org/blog/klambda.htm http://www.lambdassociates.org/blog/klambda.htm
- cheepin 12y agoInteresting to see how many of these overlap. For example: Lux->Clojure->JVM Lux->Ruby->JVM Lux->Haskell->Javascript Any more that I missed?
- yellowapple 12y agoHypothetically: Lua->Clojure->Javascript (since Javascript is supposedly one of Clojure's compilation targets, in the form of ClojureScript).