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

Non-arithmetic commands #6

Open
6 tasks
coriolinus opened this issue Feb 10, 2021 · 0 comments
Open
6 tasks

Non-arithmetic commands #6

coriolinus opened this issue Feb 10, 2021 · 0 comments

Comments

@coriolinus
Copy link
Owner

coriolinus commented Feb 10, 2021

The parser should be able to evaluate commands like help, help FOO, exit, etc. eval_and_print should be able to delegate to appropriate command handlers in that case.

Minimal commands necessary for completion:

  • help: enumerate supported functions and operators and a basic syntax description
  • quit: exit cleanly. Alternative to ctrl-c.

Bonus objectives:

  • help FOO: for any FOO in supported functions and operators, emit a description of what that operation does.
  • save PATH: save history (input expressions and results) to PATH
  • load PATH: load history (input expressions and results) from PATH
  • history: replay entire history
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant