-
-
Notifications
You must be signed in to change notification settings - Fork 153
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(pointfree-lang): implement dynamic var scoping & local var grammar
- add loadvar/storevar/beginvar/endvar word fns - add `^{ x y }` syntax to autobind word local vars - update var lookups/updates to use scope/binding stack (per var) - update visitWord() to inject local var handling (if needed) - update ensureEnv() to prepare var stacks - add finalizeEnv() to resolve final var results and remove var stacks - fix aliases - add docs
- Loading branch information
1 parent
1c899a1
commit 3310ec3
Showing
3 changed files
with
238 additions
and
35 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.