|
|
|
|
|
by ModernMech
1910 days ago
|
|
While most of the site seems broken, at least the online editor is working. There's an example of a traffic light that gives some insight as to the design of the language: https://stonecypher.github.io/jssm-viz-demo/graph_explorer.h... One thing I've learned personally writing live editors is that while recompile on every key seems neat, in practice it is very jarring to have things jump around every keystroke. The problem with this is that mid-typing you may express an invalid program, so your rendered output jumps wildly from something coherent to something completely wrong, only to resolve itself when you're done typing. This is why I think it's best practice to explicitly recompile on ctrl+enter, even if you have the ability to do it every keystroke. |
|
I didn't expect anyone to find it It's just not done
Workin' on it now ™
.
> This is why I think it's best practice to explicitly recompile on ctrl+enter, even if you have the ability to do it every keystroke.
This is interesting, and I like it
I'm gonna leave it in its current default behavior because I believe that it has a strong impact on ease of onboarding to just see what you did without explicitly requesting it.
But, I think I'm going to make this a configurable option, so that you can have the thing you wanted, and I may even start working this way myself (gonna have to try it and see how it feels.)
Thank you for the idea, and please keep them coming. I appreciate your help.
I am most likely to notice them in the FSL issue tracker: https://github.com/StoneCypher/fsl/issues