Closed rbergen closed 2 years ago
This fixes #132. It does this by including the arity of an operator in the precedence dictionary and lookup.
Interestingly enough, the existing comment
# key is tuple (token, nargs)
above the PRECEDENCE dictionary seems to indicate that the operator arity was included in the dictionary key at some point in the past?
PRECEDENCE
Merged
This fixes #132. It does this by including the arity of an operator in the precedence dictionary and lookup.
Interestingly enough, the existing comment
above the
PRECEDENCE
dictionary seems to indicate that the operator arity was included in the dictionary key at some point in the past?