Show HN: Quaint – a statically typed language with seamless resumable functions
github.com
github.com
Outside of ^^^, the language is beautiful. Thank you!
"else if" is really an old C hack that enables the parser to not have a special production for else-ifs, and it would generate a deep parse tree, rather than a flat one. I feel like that is wrong. A chain of if-elif-else should be conceptually linear, not nested.
Moreover, in a language that doesn't require parens around the conditions, it would look rather "disorientating":
} else if a == b && b == c {