Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2016-05-07 | Attempt to convert grammar to LL(1) | Peter Wu | 1 | -11/+8 | |
Needs more verification, but the idea is that the expressions with lowest precedence (+) should be the first one in the parse tree (implying that non-terminals with highest precedence should be just above a terminal). Left-associativity is achieved by the trick in section 2.3.1 of Intro2CD which results in the left operand being recursed instead of the right one. | |||||
2016-05-07 | Initialize LL(1) grammar from current grammar | Peter Wu | 1 | -0/+41 | |