2 ms·
It's true that a hand-written recursive parser is better for a real compiler, but the main reason is that it's much easier to write sensible error messages that
by astrange 5y ago
It's true that a hand-written recursive parser is better for a real compiler, but the main reason is that it's much easier to write sensible error messages that way. Parser generators are only really good at the happy path.