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?
[ Parent
| on HN ]
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.