Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle ASI as part of the parse table. #623

Open
nbp opened this issue Aug 7, 2020 · 0 comments
Open

Handle ASI as part of the parse table. #623

nbp opened this issue Aug 7, 2020 · 0 comments
Assignees
Labels
parser generator Bug related to the grammar processing, parse tebale generator and the parse table backends.

Comments

@nbp
Copy link
Collaborator

nbp commented Aug 7, 2020

A related goal is the removal of error handling from the runtime of the parser, as well as the replay list which is being used to save the tokens which caused the error to happen. A consequence of this would be that we would have full knowledge at compilation time of all the possible states that the parser can take, and thus remove the need for a replay-list to be encoded as a list.

However, one road block is the fact that error handling is not understood by the parser generator, and as such, we are not capable of removing the replay-list across the CheckNotOnNewLineactions.

This issue is to expand the ASI rules as part of the parse table, and remove the need for error handling, as later on remove the need for a replay-list.

@nbp nbp added the parser generator Bug related to the grammar processing, parse tebale generator and the parse table backends. label Aug 7, 2020
@nbp nbp self-assigned this Aug 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
parser generator Bug related to the grammar processing, parse tebale generator and the parse table backends.
Development

No branches or pull requests

1 participant