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

refactor: move ParseError struct into the ast package #32

Merged
merged 1 commit into from
Jun 20, 2024

Conversation

judofyr
Copy link
Contributor

@judofyr judofyr commented Jun 20, 2024

This accomplishes two things:

This accomplishes two things:

- We get to reuse the same struct for parse errors across our parsers
- It's possible now to return ParseError from the `ast` package as well.
  See #31 for where we want to validate after the initial parse.
@judofyr judofyr merged commit 9aea6c8 into main Jun 20, 2024
5 checks passed
@judofyr judofyr deleted the reuse-parse-error branch June 20, 2024 13:32
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.

2 participants