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

Some parser and compiler tweaks #287

Merged
merged 5 commits into from
Feb 12, 2024
Merged

Some parser and compiler tweaks #287

merged 5 commits into from
Feb 12, 2024

Conversation

irh
Copy link
Contributor

@irh irh commented Feb 9, 2024

  • Rename ParserError -> koto_parser::Error, and introduce koto_parser::Result
  • Make use of ConstantIndex and AstIndex where appropriate
  • Infer the entry point for ASTs
  • Refer to nodes by AstIndex in compile_node
  • Extract helpers for working with the span stack

@irh irh merged commit 1f2f451 into main Feb 12, 2024
6 checks passed
@irh irh deleted the parser-and-compiler-tweaks branch February 12, 2024 09:30
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.

1 participant