Re:Shen is a portable functional programming language
by chc on Sunday August 31, 2014 @05:48PM
(#8250481)
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.
[ Parent
| on HN ]
Re:Shen is a portable functional programming language
by hawkice on Sunday August 31, 2014 @06:57PM
(#8250719)
Haxe seems to be portable in a similar way, and probably more popular than Shen at the moment.
Re:Shen is a portable functional programming language
by chc on Tuesday September 02, 2014 @02:27PM
(#8259261)
Is Haxe functional? I didn't think it was.
Re:Shen is a portable functional programming language
by hawkice on Tuesday September 02, 2014 @06:24PM
(#8260535)
Definitely seems to be -- they claim it's been used by a lot of different people (including, notably, the now-famous indie game Papers, Please) and is somewhere deep into version 3.something -- it's been around for quite some time.
Re:Shen is a portable functional programming language
by zem on Monday September 01, 2014 @01:08AM
(#8251613)
the creator of ats has recently demonstrated proof of concept python, javascript and php backends.
https://github.com/githwxi/ATS-Postiats-contrib/tree/master/...
Re:Shen is a portable functional programming language
by CMCDragonkai on Sunday August 31, 2014 @06:32PM
(#8250622)
Can shen be embedded in the host language?
Re:Shen is a portable functional programming language
by tizoc on Sunday August 31, 2014 @07:39PM
(#8250875)
That depends on the port. The Clojure port allows this:
https://github.com/hraberg/shen.clj#神-define-prolog-and-defp...
Re:Shen is a portable functional programming language
by malisper on Monday September 01, 2014 @01:50AM
(#8251680)
From[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.