4 ms·
In the sense that they run under CLisp, SBCL, Clojure, Scheme, Ruby, Python, the JVM and Javascript? I can't think of any that are portable in that sense.
by chc 12y ago
In the sense that they run under CLisp, SBCL, Clojure, Scheme, Ruby, Python, the JVM and Javascript? I can't think of any that are portable in that sense.
- CMCDragonkai 12y agoCan shen be embedded in the host language?
- tizoc 12y agoThat depends on the port. The Clojure port allows this: https://github.com/hraberg/shen.clj#神-define-prolog-and-defprolog-macros https://github.com/hraberg/shen.clj#神-define-prolog-and-defp...
- malisper 12y agoFrom[0], the answer appears to be yes, but it greatly depends on the host. One can write Common Lisp code by using uppercase. Using $native will execute the following code as Scheme code. For Clojure, it looks like Shen provides a FFI for basic interactions. [0] http://www.shenlanguage.org/learn-shen/native.html http://www.shenlanguage.org/learn-shen/native.html
- hawkice 12y agoHaxe seems to be portable in a similar way, and probably more popular than Shen at the moment.
- zem 12y agothe creator of ats has recently demonstrated proof of concept python, javascript and php backends. https://github.com/githwxi/ATS-Postiats-contrib/tree/master/projects/MEDIUM/ATS-parse-emit https://github.com/githwxi/ATS-Postiats-contrib/tree/master/...