Re:Lemon – An embeddable, lightweight programming language i...
by le-mark on Wednesday October 25, 2017 @08:47AM
(#15549564)
It is dynamic, curly braced, garbage collected, coroutines. Some really squeaky clean C code too. One can immediately tell this is a great code base to read and learn from, at the very least.
[ Parent
| on HN ]
Re:Lemon – An embeddable, lightweight programming language i...
by augustk on Wednesday October 25, 2017 @10:03AM
(#15550190)
What's so squeaky clean about hiding a goto inside a macro?
Re:Lemon – An embeddable, lightweight programming language i...
by le-mark on Wednesday October 25, 2017 @11:57AM
(#15551196)
I guess you're referring to this[1]. I'd actually call that usage svelte. The macro is undefined not far after it's use in the file, and makes the section it's in far more readable.
[1] https://github.com/lemon-lang/lemon/blob/9a0b3dbc854532b31f7...
Re:Lemon – An embeddable, lightweight programming language i...
by billytetrud on Wednesday October 25, 2017 @03:08PM
(#15553148)
Why does it have the do-while(0)?