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

Parsing tombstones #177

Open
evincarofautumn opened this issue Jun 16, 2017 · 0 comments
Open

Parsing tombstones #177

evincarofautumn opened this issue Jun 16, 2017 · 0 comments

Comments

@evincarofautumn
Copy link
Owner

When a token is missing, assume it was present and keep parsing, accumulating errors for later. E.g.:

-> x y;
//  ^ assume comma

define foo (Int32 Int32 -> Int32):
  …           // ^ assume comma

This should also handle runaway blocks during layout desugaring, assuming no nested top-level program elements.

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

No branches or pull requests

1 participant