-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vm: move
ExpandToAst
logic into own instruction
The logic for template expansion as needed by the `mExpandToAst` magic (used by `quote`) is now implemented as a separate instruction instead of as part of `IndCallAsgn`. This makes the role of template expansion less confusing ("why are templates 'called' inside the VM?", "weren't they expanded already?") and also allows for a different instruction argument make-up. The latter is required by both a future overhaul of macro expansion and the refactored VM. User-facing behaviour stays the same
- Loading branch information
Showing
3 changed files
with
56 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters