3 ms·
What are the functional languages that are in common usage that are not portable?
by moron4hire 12y ago
What are the functional languages that are in common usage that are not portable?
- alayne 12y agoI think the question is what does portable mean, or is there a better word to use than portable. It clearly doesn't just mean written in C or C++. From the linked page -- "It currently runs under CLisp and SBCL, Clojure, Scheme, Ruby, Python, the JVM and Javascript."
- chc 12y agoIn 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/...