daisy/TODO.md

76 lines
1.9 KiB
Markdown
Raw Normal View History

2023-06-14 20:21:27 -07:00
- list and delete variables
2023-07-28 15:03:12 -07:00
- sin() with units (rad and deg)
2023-07-31 16:54:09 -07:00
- Prettyprint: no space when implicit multiply?
- Re-evaluate variables (a = q + 2, q = 3, a should evaluate to 5)
2023-07-31 17:02:50 -07:00
- Remove rug dependency (too big, incompatible)
2023-07-31 20:44:17 -07:00
- 2x^-1 as superscript
2023-06-11 13:53:53 -07:00
2023-04-06 10:39:36 -07:00
## Pre-release
2023-06-07 15:23:50 -07:00
- Commands to list constants, units, and substitutions
2023-04-06 10:39:36 -07:00
- Documentation (usage)
- Documentation (comments)
2023-06-11 16:45:36 -07:00
- Print with highlighting
2023-06-14 09:25:19 -07:00
- Cleanup tests
- Test commands
- Test functions (nounit, tobase)
2023-07-31 16:59:30 -07:00
- Update README
- demo
- tricks (a = 2)
2023-07-31 16:54:09 -07:00
## Parser rework
- Better error when `sin = 2`
- Define functions (f(x) = ??)
- Should functions be operators?
2023-06-13 09:17:57 -07:00
2023-04-06 10:39:36 -07:00
## General
2023-06-13 09:17:57 -07:00
- Optional config file
- Optional history file
2023-04-06 10:39:36 -07:00
- Compile to WASM, publish a webapp
2023-07-31 20:44:17 -07:00
- Options:
- disable replacement
- disable special characters
- 1/ as -1 power toggle
- powers as superscripts toggle
- evaluate straight from command line
2023-04-07 09:42:50 -07:00
- Trigonometry & function tests
2023-07-31 16:54:09 -07:00
- Auto-push to crates.io
2023-06-11 16:45:36 -07:00
2023-04-06 10:39:36 -07:00
## Internals
- Non-recursive treeify
- Faster factorial function. Maybe use gamma instead?
- Arbitrary precision float (rug doesn't offer arbitrary exponents)
2023-04-10 18:53:22 -07:00
- Backend-independent colorful printing
2023-04-06 10:39:36 -07:00
## Math Features
- Function definitions
- Dice
- Mean, Median, Min, Max: arrays and multi-argument functions
- Arbitrary base logarithm
- Derivatives
- CAS features (trig, roots and powers)
- Complex numbers
- acot/acoth functions
- Binary, hex, octal numbers
- Extra roots? (for convenience)
- Sums and products
2023-06-07 15:23:50 -07:00
- Unit info command
2023-06-11 13:53:53 -07:00
- Constant info command
2023-04-06 10:39:36 -07:00
## Prompt
- Live syntax/output (like firefox js terminal)
2023-04-10 12:48:49 -07:00
- Syntax highlight input and output
2023-04-06 10:39:36 -07:00
- fish-style tab completion
2023-04-13 14:10:53 -07:00
- Numbered expressions, history recall
2023-06-07 15:23:50 -07:00
- Better power printing
2023-06-13 09:17:57 -07:00
- Color configuration
2023-07-31 16:54:09 -07:00
- Enable/disable unit sets (defaults?)
2023-06-11 16:52:23 -07:00
- Show base units on error
2023-06-11 16:45:36 -07:00
2023-06-13 09:12:50 -07:00
## Units
2023-06-13 21:24:04 -07:00
- long prefixes (megatonne, etc)
2023-06-13 09:12:50 -07:00
- HMS for degrees
- Exact radians, using pi constant?
- Weird units: flops, lumen, lux, bel
2023-06-14 20:21:27 -07:00
- Plural unit names