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

Support for the load statement in the compiler #76

Merged
merged 2 commits into from
Sep 14, 2024
Merged

Support for the load statement in the compiler #76

merged 2 commits into from
Sep 14, 2024

Conversation

mosser
Copy link
Member

@mosser mosser commented Sep 14, 2024

Porting the load statement from the previous compiler to the new architecture.

  • Exposing a "partial compilation chain" providing a list of actions out of a file name;
  • Load statements reified as a LoadFile action
  • When interpreting the action, triggering the partial chain to get actions, and then using the execution engine to enrich the already existing Unit
  • Recording already visited files to avoid loops or double loading.

@mosser mosser merged commit eb30cd8 into main Sep 14, 2024
11 checks passed
@mosser mosser deleted the load branch September 14, 2024 21:44
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