This is really interesting, and I can see how this would be very useful, especially for someone like me who doesn't work with JS all day long.
FYI, when messing with the Array, I got into an unexpected state where clicking one of the entries selected it (applied it?) as the "grey" text, and I wasn't able to get back to the full array details.
As an aside, I have been using Joplin's Math Mode plugin[0] for a while, and this reminds me of it.
Haha sorry about that bug definitely one to fix soon.
I love the idea of instantly evaluated math -- I haven't used Math-Mode/Mathjs but I have used SymPy -- I think the barrier is the difficult syntax / typing it out. Though it's definitely a step towards Magic Paper[0]
Our goal is to make it easier to see what's happening in programs, and in doing so make coding faster. Eventually we want to build in the ability to deploy both frontend and backend (Node), all from the same editor page.
Haha, both of those cases are killing both the iframe and the UI. I have to get around to using totally different domain on the iframe to really take advantage of the Chrome process isolation. Previously I was using a really nice JS interpreter written in JS[0] before to solve that problem, but it ran 200 times slower than the browser interpreter(!)
Quokka looks interesting. An extension is definitely a possibility and if so it would support DOM, Vue, NodeJS, Electron, etc — not just run things in a separate NodeJS instance.
The other route I am considering is integrating backend, hosting, and a market — so the site becomes a vertically integrated code creation place.
26 comments
[ 2.3 ms ] story [ 69.3 ms ] threadFYI, when messing with the Array, I got into an unexpected state where clicking one of the entries selected it (applied it?) as the "grey" text, and I wasn't able to get back to the full array details.
As an aside, I have been using Joplin's Math Mode plugin[0] for a while, and this reminds me of it.
[0] https://discourse.joplinapp.org/t/plugin-math-mode/13254
I love the idea of instantly evaluated math -- I haven't used Math-Mode/Mathjs but I have used SymPy -- I think the barrier is the difficult syntax / typing it out. Though it's definitely a step towards Magic Paper[0]
[0] http://cognitivemedium.com/magic_paper/
Here are some more examples:
React: https://editor.sunflower.industries/?loadExample=reactExampl... . A 1500-line React app (in one file) will work just fine.
Hot Swapping: https://editor.sunflower.industries/?loadExample=replExample
Our goal is to make it easier to see what's happening in programs, and in doing so make coding faster. Eventually we want to build in the ability to deploy both frontend and backend (Node), all from the same editor page.
Please follow us on Twitter if you are interested in updates! https://twitter.com/SunflowerEditor
EDIT: oh, also collaboration is built in with Yjs. Just share your URL (the one that has ?room=...) with someone else.
For example:
[0] https://github.com/NeilFraser/JS-Interpreter
https://tcjtes71z5j.typeform.com/to/edSjQ9AH
[0] https://quokkajs.com/
You need to click it twice but that's because the page is doing a redirect it seems. That would be the expected behavior from my POV.
A standard HTTP redirect does this right as well as location.replace()
The site incorrectly sets a new location by other means.
As others mention, this could be a VSCode extension.
I do javascript playground (https://PlayCode.io) too, and this feature will be shining
If you can build something portable, charge money for it IMO. I currently pay $50/year for this:
https://quokkajs.com/
The other route I am considering is integrating backend, hosting, and a market — so the site becomes a vertically integrated code creation place.
[0]: https://github.com/Duroktar/Wolf