Fork me on GitHub
#sci
<
2023-09-07
>
Ingy döt Net15:09:10

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 Net16:09:32

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

Ingy döt Net16:09:51

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

Ingy döt Net16:09:25

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

Ingy döt Net16:09:27

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

Ingy döt Net16:09:47

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

borkdude17:09:35

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

borkdude17:09:57

There's also #C04V4LQF6V7 - 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 Net17:09:06

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.

👍 2
Ingy döt Net17:09:04

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

Ingy döt Net17:09:26

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

Ingy döt Net17:09:51

And also binding examples for lots of languages