▲ | andrewla 3 days ago | |||||||||||||||||||||||||||||||
I actually prefer a syntax that is whitespace-sensitive, but should not give meaning to whitespace. That is, the whitespace should not perform a semantic duty, but should be required to be correct. This is roughly equivalent to saying that a linter can transform the AST of the language into a canonical representation, and the syntax will be rejected unless it matches the canonical representation (modulo things like comments or whitespace-for-clarity). | ||||||||||||||||||||||||||||||||
▲ | wofo 3 days ago | parent | next [-] | |||||||||||||||||||||||||||||||
This sounds like a stricter version of KSON's current warnings for misleading indentation... maybe KSON should have an opt-in feature for this. Thanks for the idea! | ||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||
▲ | giveita 2 days ago | parent | prev [-] | |||||||||||||||||||||||||||||||
So, opposite of python? |