-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Emit function to "define" global variables (i.e. allocate them) and
another to initialize them, except for `init()` functions and except for initializing imported packages. Initializing imported packages requires that `initialize'` only run once, which could use the globals map but requires changes to the semantics of GlobalGet to permit reading an key that hasn't been initialized as a means of checking if a package has already been initialized.
- Loading branch information
Showing
2 changed files
with
113 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