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

feat(engine): add ast_destruct module #960

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

feat(engine): add ast_destruct module #960

wants to merge 1 commit into from

Conversation

W95Psp
Copy link
Collaborator

@W95Psp W95Psp commented Oct 3, 2024

This PR adds an ast_destruct module to destruct ASTs nicely.
This PR also rewrites one phase that had a very verbose pattern matching to show off a bit how useful this can be to preserve our sanity while matching on syntax.

Fixes #941

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.

Engine: generate AST destructors
1 participant