Updated TODO

pull/2/head
Mark 2023-08-01 20:13:10 -07:00
parent 377d5c40e3
commit 06d5757d2b
Signed by: Mark
GPG Key ID: AD62BB059C2AAEE4
1 changed files with 15 additions and 14 deletions

27
TODO.md
View File

@ -1,22 +1,22 @@
## Pre-release
- Commands to list constants, units, and substitutions
- list and delete variables - list and delete variables
- sin() with units (rad and deg) - sin() with units (rad and deg)
- Re-evaluate variables (a = q + 2, q = 3, a should evaluate to 5) - Re-evaluate variables (a = q + 2, q = 3, a should evaluate to 5)
- Remove rug dependency (too big, incompatible)
- 2x^-1 as superscript - 2x^-1 as superscript
- Celsius and Farenheit - Celsius and Farenheit
## Pre-release
- Commands to list constants, units, and substitutions
- Print with highlighting
- Cleanup tests
- Test commands
- Demo in readme
## Parser rework
## Parser
- Better error when `sin = 2` - Better error when `sin = 2`
- Define functions (f(x) = ??) - Define functions (f(x) = ??)
- Should functions be operators? - Should functions be operators?
- Multi-argument functions
## General ## General
@ -29,7 +29,6 @@
- 1/ as -1 power toggle - 1/ as -1 power toggle
- powers as superscripts toggle - powers as superscripts toggle
- evaluate straight from command line - evaluate straight from command line
- Trigonometry & function tests
- Auto-push to crates.io - Auto-push to crates.io
@ -37,13 +36,12 @@
- Non-recursive treeify - Non-recursive treeify
- Faster factorial function. Maybe use gamma instead? - Faster factorial function. Maybe use gamma instead?
- Arbitrary precision float (rug doesn't offer arbitrary exponents) - Arbitrary precision float (rug doesn't offer arbitrary exponents)
- Backend-independent colorful printing - Remove rug dependency (too big, incompatible)
- Better colors in error texts
## Math Features ## Math Features
- Function definitions - Function definitions
- Dice - Dice
- Mean, Median, Min, Max: arrays and multi-argument functions - Mean, Median, Min
- Arbitrary base logarithm - Arbitrary base logarithm
- Derivatives - Derivatives
- CAS features (trig, roots and powers) - CAS features (trig, roots and powers)
@ -51,7 +49,7 @@
- acot/acoth functions - acot/acoth functions
- Binary, hex, octal numbers - Binary, hex, octal numbers
- Extra roots? (for convenience) - Extra roots? (for convenience)
- Sums and products - Sums and products with functional arguments
## Prompt ## Prompt
- Live syntax/output (like firefox js terminal) - Live syntax/output (like firefox js terminal)
@ -63,6 +61,8 @@
- Consistent unit ordering - Consistent unit ordering
- Better linelocation - Better linelocation
- we shouldn't need to re-print user input on evaluation errors, red arrows should adjust themselves to the prettyprinted string - we shouldn't need to re-print user input on evaluation errors, red arrows should adjust themselves to the prettyprinted string
- Backend-independent colorful printing
- Better colors in error texts
## Units ## Units
- long prefixes (megatonne, etc) - long prefixes (megatonne, etc)
@ -70,3 +70,4 @@
- Exact radians, using pi constant? - Exact radians, using pi constant?
- Weird units: flops, lumen, lux, bel - Weird units: flops, lumen, lux, bel
- Plural unit names - Plural unit names
- More constants