Did you know there is a #Python implementation written in #CommonLisp?
And it works and has interesting features like mixed REPL mode, compilation to the native code and more!
@svetlyak40wt I briefly tried it. Didn’t get the full picture back then and dropped it. Can I use it to run a python script and stream back results (or something like that)?
@abishekgoda I just tried to follow the documentation https://clpython.common-lisp.dev/manual.html#habitat and it works!
However this is a toy script. For more complex things you may require some third-party libs which may be not possible to load.
@svetlyak40wt @abishekgoda let me try it again
@abishekgoda I see the CL-PYTHON as a good candidate to extension language when you are building the main software in CL, but want to provide an alternative language to write plugins. Python is more widely accepted thus a good for such role.
@svetlyak40wt i use libpython-clj with clojure to do something like this. I wanted to try with common lisp first but the architecture of the clojure bridge seems much different than this one. Maybe am missing something. Eitherways, thanks for bringing it up. I ll definitely try it again