3 ms·
Can shen be embedded in the host language?
by CMCDragonkai 12y ago
Can 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