scittle

craftybones 2023-05-22T04:51:30.240839Z

@borkdude - Am I being delusional or was there a @borkdude/sci package on NPM?

borkdude 2023-05-22T08:20:43.210629Z

There used to be a SCI npm package but since SCI has so many options, it wasn't feasible to keep up in the JS interface with this. Instead I recommend people to compile SCI in a way that suits their needs and then publish this to npm. Examples of this are scittle and nbb.

craftybones 2023-05-22T09:32:37.662419Z

Right.

craftybones 2023-05-22T09:32:38.923299Z

Thanks

craftybones 2023-05-22T09:33:02.194449Z

What is the simplest way for me to do a simple sci.eval("(+ 2 3)") in JS?

borkdude 2023-05-22T09:33:33.263739Z

browser or node?

craftybones 2023-05-22T09:33:38.711019Z

browser.

borkdude 2023-05-22T09:34:10.263789Z

ok, include scittle inside your browser via a tag or so and then call

scittle.core.eval_string("(+ 1 2 3)")

craftybones 2023-05-22T09:34:30.536839Z

Oh, you recently wrote a custom scittle compile example as well right?

craftybones 2023-05-22T09:34:33.201889Z

Thanks, I forgot!

borkdude 2023-05-22T09:34:56.637699Z

no problem