-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve lowering of module / toplevel / import / using
Lower `module`, `import` and `using` to an explicit runtime function call rather than a bare expression. This imperative approach allows us to remove module, import and using expressions from the lowered IR. As part of this the `import` and `using` expressions have their syntax checked by lowering rather than later in the runtime. Lowering of `module` results in a quoted `toplevel` expression for later consumption by `eval`. This expression also includes the standard definitions of `eval()` and `import()` rather than having these defined by a special lowering step at runtime.
- Loading branch information
Showing
10 changed files
with
402 additions
and
95 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
Oops, something went wrong.