Because I'm curious to see how you usually approach it.
-
-
Because if b is a type, the AST for the LHS is cast-expr b left and unary minus d right.
-
But if b is a global variable, the AST for the LHS is binary subtraction with left b right d.
- Show replies
New conversation -
-
-
One way I've done it (that works with RD) is to simply gen big tree w/ amiguity and prune.
-
You just need a node AMBIG that branches to alternatives. But mostly I just avoid ambiguity.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.