Skip to content

Handle ASI as part of the parse table. #623

@nbp

Description

@nbp

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.

Metadata

Metadata

Assignees

Labels

parser generatorBug related to the grammar processing, parse tebale generator and the parse table backends.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions