|
|
|
|
|
by ronaldx
4517 days ago
|
|
I think you're really missing the point. Your goal is to write a whole programming language. Calculating where each statement starts and ends in order to serve a good error message is misdirected effort. Just use a terminating character, and use the standard one: a semi-colon. |
|
Significant whitespace is popular as well. You can argue all day about it, but at the moment I think making a language "look like python" is the safer bet for a new language.