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

Robuster Erroring #123

Merged
merged 17 commits into from
Aug 5, 2023
Merged

Robuster Erroring #123

merged 17 commits into from
Aug 5, 2023

Conversation

JohnDTill
Copy link
Owner

Make access operations on Error nodes generally valid, so that there is a limited amount of operations requiring guards

src/forscape_parser.cpp Outdated Show resolved Hide resolved
Copy link
Owner Author

@JohnDTill JohnDTill left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the right direction. However, requiring guards on Selection logic and having wonky Selections in the presence of Errors is too high a price for the universal PARSE_ERROR node. This should be updated so that Error nodes are dynamic, and include a Selection.

@JohnDTill
Copy link
Owner Author

I shouldn't have applied formatting updates on this MR, but what the heck- it's amatuer hour.

meta/ast_fields.py Outdated Show resolved Hide resolved
@JohnDTill JohnDTill merged commit e40a8d0 into main Aug 5, 2023
9 checks passed
@JohnDTill JohnDTill deleted the universal_error_node branch August 5, 2023 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant