3 ms·
Yes, that sentence is what prompted my question :D
by xrisk 6y ago
Yes, that sentence is what prompted my question :D
- pansa2 6y agoSounds like the thought process was along the lines of: “LL(1) makes it too hard to add complex new features to the language, we must change to something else; PEG is something else; therefore we must change to PEG”.
- lgauss 6y agoAlso, 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...]