| ▲ | AGDNoob 6 hours ago | ||||||||||||||||
Yeah braces made the parser way simpler for a first attempt. Significant whitespace is on the maybe-list but honestly seems scary to implement correctly | |||||||||||||||||
| ▲ | zahlman 6 hours ago | parent [-] | ||||||||||||||||
I feel like Python-style indentation should be much easier to parse intuitively (preprocess the line, count leading levels of indentation) than by fully committing to formal theory. Not theoretically optimal and not "single-pass" but is that really the bottleneck? | |||||||||||||||||
| |||||||||||||||||