Hacker News new | ask | show | jobs
by le-mark 3154 days ago
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.
1 comments

What's so squeaky clean about hiding a goto inside a macro?
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...

Why does it have the do-while(0)?
It's a safeguard because {} statement blocks are optional [1].

[1] https://stackoverflow.com/a/923833/2561675