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

Merged
merged 1 commit into from
Oct 7, 2024
Merged

feat(engine): add ast_destruct module #960

merged 1 commit into from
Oct 7, 2024

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

@W95Psp W95Psp requested review from franziskuskiefer and maximebuyse and removed request for franziskuskiefer October 7, 2024 15:19
@maximebuyse maximebuyse added this pull request to the merge queue Oct 7, 2024
Merged via the queue into main with commit 496e381 Oct 7, 2024
13 checks passed
@maximebuyse maximebuyse deleted the ast_destruct branch October 7, 2024 15:57
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
2 participants