remembered about this recently, https://news.ycombinator.com/item?id=11945722. dueling affordances of data vs code manifested in early hoplon with the hlisp idea
This is live: https://hoplon.io/playground.html I did nothing fancy yet, just copied the files to be deployed on http://hoplon.io. I would like to have persistency like they have on https://svelte.dev/repl/
I will check it out, thank you! I'm also thinking about including a "download app" link that puts the code in a script tag in a html file so it will run by itself. And I need to link to docs for the clojure mode for people use the nice editor keybindings.
👍
Something simpler for persistency would be using gists like @borkdude does on sci.configs playground, I may try that first.
I've also implemented "persistency" in the squint playground in two ways: it has a src query param, when you hit share the contents of the editor gets shared
src may also refer to an http link
and also when you make changes, I persist the change to local storage after a successful evaluation and clear the src query param
all of this is visible in the source of the index.html
not to say that you must do the same, but just some ideas
being able to evaluate while seeing the "sub" expression result could also be nice