15 ms·
Also, the PEG parser's inability to point out unintended ambiguities fits well into the general anti-formalism of Python.
by lgauss 6y ago
Also, the PEG parser's inability to point out unintended ambiguities fits well into the general anti-formalism of Python.
- pansa2 6y agoIt’s interesting that the old parser had the same problem. Although it did the parsing using an LL(1) algorithm, it never actually verified that the grammar was LL(1) before doing so. [https://discuss.python.org/t/should-there-be-a-check-whether-grammar-is-ll-1/5192 https://discuss.python.org/t/should-there-be-a-check-whether...]