nushell/crates/nu-command/src/deprecated
Stefan Holderbach 9bc4e6794d
Remove math eval command (#7284)
Reasoning: 

Most missing math commands are implemented with #7258.
The `meval` crate itself declares that it doesn't strive to stringent
standards (https://docs.rs/meval/latest/meval/#related-projects).
For example no particular special casing or transformations are
performed to ensure numerical stability. It uses the same rust `std`
library functions we use or have access to (and `f64`).
While the command call syntax in nushell may be a bit more verbose,
having a single source of truth and common commands is beneficial.
Furthermore the `math` commands can themselves implement broadcasting
over lists (or table columns).

Closes #7073

Removed dependencies:
- `meval`
- `nom 1.2.4` (duplicate)

User-Facing Changes:

Scripts using `math eval` will break. 
We remove a further `eval` like behavior to get results through runtime evaluation (albeit limited in scope)

Tests:

- Updated tests that internally used `math eval`.
- Removed one test that primarily used `math eval` to obtain a result from `str join`
2023-01-04 23:50:18 +01:00
..
deprecated_commands.rs Add a deprecation note for removed build-string (#7307) 2022-12-01 16:26:59 +01:00
hash_base64.rs Deprecate hash base64, extend decode and add encode commands (#5863) 2022-06-26 00:35:23 +03:00
math_eval.rs Remove math eval command (#7284) 2023-01-04 23:50:18 +01:00
mod.rs Remove math eval command (#7284) 2023-01-04 23:50:18 +01:00
source.rs Remove shape-directed import pattern parsing (#7570) 2022-12-22 16:36:13 +02:00
str_datetime.rs feat: mark str to-datetime as deprecated command (#4448) 2022-02-12 20:30:37 -06:00
str_decimal.rs deprecated commands (#4405) 2022-02-10 12:55:19 +00:00
str_find_replace.rs update str find-replace to str replace (#5120) 2022-04-07 08:41:09 -05:00
str_int.rs deprecated commands (#4405) 2022-02-10 12:55:19 +00:00