Re:The Super Tiny Compiler
by 1letterunixname on Thursday March 02, 2023 @11:33PM
(#35005839)
Precise diagnostics usually follow one of 2 approaches:
1. Hand-written, recursive descent
2. Error matching expanded grammar beyond minimal gramar
Users love consolidated, efficient feedback without having to peel back errors one at a time. It’s a distinguishing feature when you can find a way to do it that suits your input, and specifically so because it can be a hard problem to solve well!