Replies: 3 comments 9 replies
-
Hi @jhandke - SCI isn't available on npm, but https://github.com/babashka/nbb is. You probably want to be using that for Node.js instead of SCI. Can you let me know if that works for you? I'd be happy to help you further. |
Beta Was this translation helpful? Give feedback.
-
Update: When adding sci as a submodule in my project and running /scripts/release-js i can do |
Beta Was this translation helpful? Give feedback.
-
@jhandke The NPM package is no longer supported, so Instead I recommend using scittle for this purpose. Try this HTML page: <html>
<head>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/scittle.js" type="application/javascript"></script>
</head>
<body>
<input id="code" value="(js/alert (+ 1 2 3))">
<button onclick="scittle.core.eval_string(document.querySelector('#code').value)">
Eval!
</button>
</body>
</html> When you click the |
Beta Was this translation helpful? Give feedback.
-
Hello @borkdude, thanks for this amazing piece of software!
I would like to use sci to create an evaluator module for a basic Clojure programming environment for intro students based on Googles Blockly. Sadly the NPM Package is not available anymore.
Is there any chance that you could upload it again? It would be very helpful.
Beta Was this translation helpful? Give feedback.
All reactions