New answers tagged ambiguity
1
vote
How to disambiguate CFG with unary/binary minus and binary prefix operator
I'm going to limit myself, at least for now, to the question actually asked here: how to deal with the ambiguity between an operator which could be prefix or infix (such as unary negation) and a ...
0
votes
How to disambiguate CFG with unary/binary minus and binary prefix operator
I came up with a simple and acceptable solution: the first argument to the binary prefix operator can be any expression with a precedence binding tighter than unary negation. That's almost no ...
Top 50 recent answers are included
Related Tags
ambiguity × 109formal-grammars × 72
context-free × 59
formal-languages × 27
parsers × 23
compilers × 11
proof-techniques × 6
regular-languages × 5
automata × 4
computability × 3
programming-languages × 3
regular-expressions × 3
algorithms × 2
finite-automata × 2
reference-request × 2
pushdown-automata × 2
syntax × 2
tree-grammars × 2
complexity-theory × 1
time-complexity × 1
data-structures × 1
algorithm-analysis × 1
asymptotics × 1
machine-learning × 1
terminology × 1