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. |
2 replies
|
Update: When adding sci as a submodule in my project and running /scripts/release-js i can do |
0 replies
|
@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/scittle@0.5.14/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 |
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
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.
All reactions