Creator here, thanks for checking out the editor! 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 th…
Show HN: Sunflower Editor – like adding console.log to every line of your code
11–20 of 27 posts
Re: Show HN: Sunflower Editor – like adding console.log to every line of your code
#12This reminds me of a very similar product, QuokkaJs [0] which works across many popular editors, VSCode, Atom, Sublime, Jetbrains suite. [0] https://quokkajs.com/
Re: Show HN: Sunflower Editor – like adding console.log to every line of your code
#13Creator here, thanks for checking out the editor! 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 th…
For example:
for (i = 0; i Re: Show HN: Sunflower Editor – like adding console.log to every line of your code
#14Nitpick: Please don't break the back button.
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.
Re: Show HN: Sunflower Editor – like adding console.log to every line of your code
#15Creator here, thanks for checking out the editor! 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 th…
Very cool. One note: the browser (at least Firefox and Chrome) becomes unresponsive for a while if the code takes too long to run. For example: for (i = 0; i
function fib(n) {
if(n == 0 || n == 1)
return 1;
else
return fib(n-1) + fib(n-2);
}
fib(100);Re: Show HN: Sunflower Editor – like adding console.log to every line of your code
#16Nitpick: Please don't break the back button.
Works fine for me - what behavior are you seeing? 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.
Re: Show HN: Sunflower Editor – like adding console.log to every line of your code
#17Creator here, thanks for checking out the editor! 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 th…
this should be a vscode extension! wonderful work!
Re: Show HN: Sunflower Editor – like adding console.log to every line of your code
#18I do javascript playground (https://PlayCode.io) too, and this feature will be shining
Re: Show HN: Sunflower Editor – like adding console.log to every line of your code
#19Re: Show HN: Sunflower Editor – like adding console.log to every line of your code
#20Interesting, the steady state nature of the code reminds me of MS Excel! Which is a compliment by the way :)