|
|
|
|
|
by mattfenwick
4522 days ago
|
|
Good point -- also, dealing with corner cases, writing tests, and maintaining the parser as the language evolves are a couple more things that might take a lot more work. Do you know of any strategies for error reporting, or of tools that implement? I'm always on the lookout for cleaner approaches to this. |
|
Not really.
Seriously, if you're going to get bogged down trying to get the lexer/parser to work, you're not ready to work on a full blown language/compiler. Lexing/parsing is the EASY part, as in a minute, insignificant part of the time you'll invest in the project. I really do mean that.