2 ms·
Last time I checked ANTLR, it sucked, and after a quick skim now, it still sucks. - no way to specify operator precedence explicitly (instead, it’s based on or
by tomp 7y ago
Last time I checked ANTLR, it sucked, and after a quick skim now, it still sucks.
- no way to specify operator precedence explicitly (instead, it’s based on ordering of alternatives)
- no explanation of conflicts / ambiguities in the grammar (again, ambiguities are silently resolved based on ordering of alternatives)
- might, or might not, properly handle left recursion (by “handle” I mean, that the parser always halts)
TL;DR: LL parsing is a dead end, don’t use it.