Skip to content

Conversation

@elegios
Copy link
Contributor

@elegios elegios commented Mar 4, 2025

This extends the Loader interface in two ways:

  • Hooks can now run in conjunction with buildFullAst which simplifies handling of some passes that must be run on the entire program.
  • It was previously possible for hooks to add Decls before the current Decl being processed, but not after. This PR adds _queueAddDecl to address this shortcoming.

Includes #901 until it's been merged.

@elegios elegios force-pushed the build-full-ast-hooks branch from 58b3184 to 87d1fae Compare March 6, 2025 15:54
@david-broman david-broman merged commit 852dd13 into miking-lang:develop Mar 11, 2025
1 of 2 checks passed
@elegios elegios deleted the build-full-ast-hooks branch April 16, 2025 09:00
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