kjosib / booze-tools

Booze Tools will become the complete programming-language development workbench, all written in Python 3.9 (for now).
MIT License
14 stars 1 forks source link

Weird corner cases with GLR mode, precedence, and (non)associativity #22

Closed kjosib closed 4 years ago

kjosib commented 5 years ago

This question on Stack Overflow purdy much captures it.

For the time being, the answer will be to act as a deterministic parser in connection with tokens and rules that participate in the operator-precedence feature. But this should be noted as a known issue.

Anyone with ideas, please share.