You are viewing gareth_rees

Gareth Rees - Python has no precedence grammar


Previous Entry Add to Memories Share Next Entry
Python has no precedence grammar

I was writing a minifier for Python 2 when I noticed1 an interesting feature: you can’t express the Python grammar in the form of an operator precedence grammar.

Background: an operator precedence grammar is one in which every pair of operators have a precedence relation ) Powered by