Skip to content
This repository has been archived by the owner on Jan 9, 2022. It is now read-only.

Error recovery #3

Open
Techcable opened this issue Jul 30, 2021 · 0 comments
Open

Error recovery #3

Techcable opened this issue Jul 30, 2021 · 0 comments

Comments

@Techcable
Copy link
Member

This is a nice-to-have feature, which isnt very useful in the context of an interpreter.

I think the only technique I would reasonably use is panic mode.

Recovering from mismatched tokens and lexer errors would be hard (especially with logos), but other types of unexpected tokens should be easier.

We should also consider switching entirely to aridane for errors, although that's really a separate issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant