notebook-style Ivy on web #187
rsc
started this conversation in
Show and tell
Replies: 0 comments
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.
In 2015, @dmitshur posted an interactive Ivy terminal at https://dmitri.shuralyov.com/projects/ivy/, using GopherJS.
Now that Go has built-in support for WebAssembly, I have been playing with that support and built something more like an Ivy notebook, where each command is separately editable and replayable. There is a playground at https://swtch.com/ivy/, and a webified version of the Ivy
)demoat https://swtch.com/ivy/demo. The source for the demo page is https://swtch.com/ivy/demo.md, converted to HTML using rsc.io/markdown/md2html.The source for the Ivy wasm is rsc.io/tmp/ivynote. If you want to piggy-back on the wasm served from swtch.com instead of building your own, change "ivy.css" and "ivy.js" to "https://swtch.com/ivy/ivy.css" and "https://swtch.com/ivy/ivy.js" in the HTML block at the top of demo.html or demo.md, like (Markdown):
or (HTML):
All reactions