7 ms·
Well done, I'm impressed. You raised some important and also some sore points. @documentation: there is still some work to be done. The tutorial "Code snippet
by chkas 7y ago
Well done, I'm impressed.
You raised some important and also some sore points.
@documentation: there is still some work to be done. The tutorial "Code snippets" contains most things.
@comments, empty lines: lines beginning with # are comments. Empty lines are not possible, but empty comment lines.
@floats and ints: by default variables are integer and floats are marked with #. With floatvars variables are floats and integer are marked with % - as in some BASIC variants.
@editor: this is a bit strict, but with beginners the concept works quite well. On enter, the code is parsed down to the current line and returned "correctly" formatted. Unfortunately "undo" does not work well.
@end: the dot is quickly typed and also makes the code more clear (a bit like in Python) - since the dot seems strange to many people, I added end as an alternative.
@color: these 3 digit numbers are short, and sufficient for most cases and more flexible than color names. There are also built-ins to fine-tune the colors (0.0-1.0) (color_red, ...)
https://easylang.online/apps/mandelbrot.html https://easylang.online/apps/mandelbrot.html