5 ms·
Interestingly the parser is generated using flex and bison, which I thought was rare these days.
by chakkepolja 4y ago
Interestingly the parser is generated using flex and bison, which I thought was rare these days.
- tgv 4y agoIf you want accurate error messages, you might want to write the parser by hand. If you want to make changing the grammar easy, and have a reliable, correct parser, you use a parser generator. Some have better error message than bison.