-
-
Notifications
You must be signed in to change notification settings - Fork 150
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ysh breaking] ARGV is a normal List variable
It's not an alias for the "argv stack". Why? - There was a bug where mutating ARGV was ignored. You got a new value.List every time. - Removing the argv stack simplifies a pure YSH runtime (see Zulip) - Removing the argv stack removes special semantics from the language. - ARGV is just a list. - We are going to get rid of "$@", so there's no reason to be constrained by its odd semantics. Now these are 2 different "worlds": - shell functions and "$@ - procs and @argv
- Loading branch information
Andy Chu
committed
Apr 13, 2024
1 parent
f1fe1c6
commit 1946733
Showing
5 changed files
with
46 additions
and
41 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
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