sci 2023-06-25

Hello 👋 Is there a way to call sci from a JavaScript program? My googling turned up the sci.impl.js namespace but not how to call its exports from JS

the @borkdude/sci package no longer exists and there is no SCI npm package on npm. The reason is that the options and ways to control SCI are pretty elaborate and to maintain a JS interface around this is pretty tedious. I recommend just compiling your own SCI-based lib and publish that to NPM. Examples of this are #scittle, #nbb, etc

👍 1

E.g. scittle exports scittle.core.eval_string that you can use to evaluate a string

nbb also has a JS API

scittle = browser, nbb = node.js

Sweet, thanks for the tips! And for sci!

👍 1