Update README.md

This commit is contained in:
Kasper 2020-08-20 11:02:34 +02:00
parent fa67e70170
commit d384750688

View File

@ -155,12 +155,12 @@ match string {
// ... // ...
``` ```
## Potential Improvements ### Potential Improvements
### General #### General
- Support for math in `6'4"` syntax, like `3'+2'4"`. Currently needs to be written like `3'+3'+4"` - Support for math in `6'4"` syntax, like `3'+2'4"`. Currently needs to be written like `3'+3'+4"`
- The functions in units.rs have a lot of manual if statements. This could probably be replaced with a pretty advanced macro. - The functions in units.rs have a lot of manual if statements. This could probably be replaced with a pretty advanced macro.
- Support for lexing words, like `one billion` - Support for lexing words, like `one billion`
### Potential unit types #### Potential unit types
Nice list of units: https://support.google.com/websearch/answer/3284611 Nice list of units: https://support.google.com/websearch/answer/3284611
- Currency: How would you go about dynamically updating the weights? - Currency: How would you go about dynamically updating the weights?
- Fuel consumption - Fuel consumption