Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename a couple builtins #949

Closed
andychu opened this issue May 19, 2021 · 2 comments
Closed

Rename a couple builtins #949

andychu opened this issue May 19, 2021 · 2 comments

Comments

@andychu
Copy link
Contributor

andychu commented May 19, 2021

https://oilshell.zulipchat.com/#narrow/stream/121540-oil-discuss/topic/Renaming.20Proposals

  • run -> try
  • push -> append, and then we're going to reuse push for global state (and maybe registers)
andychu pushed a commit that referenced this issue May 20, 2021
- The 'push' name connotes a stack, and the interpreter itself has many
  stacks.
- 'append' will be more consistent with a function append

Addresses issue #949.
@andychu
Copy link
Contributor Author

andychu commented May 20, 2021

andychu pushed a commit that referenced this issue May 20, 2021
Rename --assign-status -> assign

Because --assign :status reads fine.

Addresses issue #949

Update docs.
@andychu
Copy link
Contributor Author

andychu commented Jul 7, 2021

@andychu andychu closed this as completed Jul 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant