-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Push the initial state to the LR parser stack.
Turns out it is always needed to do GOTOs from the initial state if we reduce a production with as many members as the stack. And with that we don't need to separately track the LR state anymore; it's at the top of the stack.
- Loading branch information
1 parent
3958c81
commit 112e674
Showing
1 changed file
with
15 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters