Rather than letting the reduced tree become the new lookahead symbol, and re-adding it to the stack via a subsequent shift action, just add it to the stack as part of the reduce action. This is more in line with the way LR is described traditionally. |
||
|---|---|---|
| .. | ||
| compiler | ||
| fixtures | ||
| runtime | ||