fosstodon.org is one of the many independent Mastodon servers you can use to participate in the fediverse.
Fosstodon is an invite only Mastodon instance that is open to those who are interested in technology; particularly free & open source software. If you wish to join, contact us for an invite.

Administered by:

Server stats:

10K
active users

svetlyak40wt

Did you know there is a implementation written in ?

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 clpython.common-lisp.dev/manua 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.

@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