3 ms·
You could go the opposite route, and run Lisp in your favorite language. Here's a Lisp in JavaScript and Lua: https://github.com/sctb/lumen https://github.com/s
by sillysaurusx 5y ago
You could go the opposite route, and run Lisp in your favorite language. Here's a Lisp in JavaScript and Lua: https://github.com/sctb/lumen https://github.com/sctb/lumen
Integration is easy because there's no integration. You can just call whatever functions you'd normally call.
- gilch 5y agoHere's a Lisp in Python: https://github.com/gilch/hissp https://github.com/gilch/hissp
- nuclearnice3 5y agoThis embedding idea has potential. On a related note, I enjoyed these Peter Norvig essays on writing a LISP in Python. https://norvig.com/lispy2.html https://norvig.com/lispy2.html
- reikonomusha 5y agoIt’s really a shame that “lisp” is such a generic term, because different lisp dialects have wildly different programming experiences. Common Lisp, which is what I generally mean when I say “Lisp” can be embedded in any language that speaks C with Embeddable Common Lisp.
- bjoli 5y agoIf the s-expr was the only thing we meant when we say "we like common lisp" that would indeed be a good solution. It isn't, though, and the experience I have had with languages like that is usually no different than the one I have with python or lua - but with the added benefit of being able to at least use macros.