Skip to content

Scan pre destructure ast macros #1489

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

Conversation

andrew-johnson-4
Copy link
Collaborator

Describe your changes

Features:

  • implemented the "peep" type phase in AST macro selection
  • this is all the typechecking that needs to happen before macro resolution
  • this will determine which macro cases are applied and which are ignored
  • Specialization applies during this phase, so arbitrary conjugates can be matched and subsumed

Issue ticket number and link

#1468

Checklist before requesting a review

  • [ x ] I have performed a self-review of my code
  • [ x ] If it is a new feature, I have added thorough tests.
  • [ x ] I agree to release these changes under the terms of the permissive MIT license (1).
  1. https://github.com/andrew-johnson-4/lambda-mountain/blob/main/LICENSE

@andrew-johnson-4 andrew-johnson-4 merged commit 94a2642 into Lambda-Mountain-Compiler-Backend:main May 7, 2025
1 check passed
@andrew-johnson-4 andrew-johnson-4 deleted the scan-pre-destructure-ast-macros branch May 7, 2025 22:15
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