-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce fully lexically scoped variables
Adds a new notion of block scoped variables, declared using new syntax "let x =". Adds new block scope with "begin" and "end" keywords. Existing block structures like while/if-elseif-else/try/for are also lexically scopable. Also adds explicit global variable assignment / declaration via "global" By default variables are global, to keep backwards compatibility with LambdaMOO.
- Loading branch information
Showing
20 changed files
with
1,145 additions
and
203 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.