sci

Ingy döt Net 2023-09-07T15:44:10.128059Z

For a few reasons I have become interested in having sci available as a libsci shared library. Does such a thing exist currently?

Ingy döt Net 2023-09-07T16:22:47.678749Z

Found https://github.com/babashka/sci/blob/master/doc/libsci.md 🙂

Ingy döt Net 2023-09-07T16:33:32.532439Z

Derp, sorry that's the tutorial I've been reading for past 2 weeks. facepalm

Ingy döt Net 2023-09-07T16:34:51.857719Z

It does give me the idea to actually make a project to build and distribute libsci.so files.

Ingy döt Net 2023-09-07T16:35:25.860099Z

And perhaps github releases is a good first place to publish releases.

Ingy döt Net 2023-09-07T16:36:27.924779Z

Then I'd need a libsci binding for 42 langs.

Ingy döt Net 2023-09-07T16:36:47.077059Z

But that's probably the right way to do it.

borkdude 2023-09-07T17:14:35.455879Z

sci itself is pretty bare bones without any additional configures libraries and I think every project requires their own configuration. libsci is only a demo of how to make a shared library, but feel free to distribute what you must do for your own projects

borkdude 2023-09-07T17:15:57.393219Z

There's also #scimacs - a project which tries to bring Clojure to emacs via a shared library based on SCI. At this point pretty experimental, but perhaps there is some overlap with what you're trying to do as well

Ingy döt Net 2023-09-07T17:16:06.505829Z

Thanks. I'm thinking to make a github project that uses GHA to build a libsci with a public eval_string and build releases for at least linux, macos, and windows using a jdk17 graal, maybe others.

👍 1
Ingy döt Net 2023-09-07T17:18:04.786349Z

If successful I'd be happy to give it all to https://github.com/babashka/sci

Ingy döt Net 2023-09-07T17:20:26.425409Z

It would be interesting (though time consuming) to have it build system distribution packages for brew, apt, yum etc

Ingy döt Net 2023-09-07T17:20:51.156279Z

And also binding examples for lots of languages