Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add `round()` function | Maximilian Bosch | 2021-12-30 | 1 | -0/+1 |
| | |||||
* | Allow expressions such as `e2` as multiplication of `e * 2` | Maximilian Bosch | 2021-12-30 | 2 | -0/+11 |
| | |||||
* | Deduplicate references to functions & constants | Maximilian Bosch | 2021-12-30 | 1 | -8/+5 |
| | |||||
* | Fix highlighting of `e` vs `exp` | Maximilian Bosch | 2021-12-30 | 1 | -2/+4 |
| | |||||
* | Update rustyline to v9 | Maximilian Bosch | 2021-12-30 | 1 | -1/+6 |
| | | | | | | Also refresh line always. This isn't a big deal for the small expressions we have here and also fixes a few annoying issues I had with the highlighter. | ||||
* | Add functions to highlighting list | Maximilian Bosch | 2021-12-30 | 1 | -1/+1 |
| | |||||
* | Add `exp2` function and ensure it's correctly lexed | Maximilian Bosch | 2021-12-30 | 1 | -6/+11 |
| | |||||
* | Add `exp(x)` function which evaluates to `e^x` | Maximilian Bosch | 2021-12-30 | 1 | -0/+1 |
| | | | | | | Quite useful when doing analysis at University, also preferable over `e^x` because it's way nicer to write `exp(arbitrary expr)` rather than `e^(arbitrary expr)`. | ||||
* | Merge branch 'color' of https://github.com/pickfire/eva into colored-help | Akshay | 2020-11-06 | 1 | -1/+2 |
|\ | |||||
| * | Add colored help | Ivan Tham | 2020-11-05 | 1 | -1/+2 |
| | | |||||
* | | Merge branch 'master' into pickfire-help | Akshay | 2020-11-06 | 6 | -3/+2 |
|\ \ | |||||
| * | | fixes for nix | Akshay | 2020-11-02 | 6 | -4/+2 |
| |/ | |||||
* | | Fix help on smaller terminal | Ivan Tham | 2020-11-02 | 1 | -19/+19 |
| | | | | | | | | | | COLUMNS not working, using term_size crate for a more portable solution. | ||||
* | | Add help command | Ivan Tham | 2020-11-01 | 4 | -4/+50 |
|/ | | | | Close #41 | ||||
* | Accept `**` operator as exponentiation (#39) | David Tolnay | 2020-10-12 | 2 | -1/+12 |
| | | | | | * Accept `**` operator as exponentiation * Add test of exponentiation | ||||
* | Don't parse arguments during `cargo test` (#37) | Maximilian Bosch | 2020-08-29 | 1 | -0/+11 |
| | | | | Otherwise, running the tests with special arguments (e.g. `cargo test -- --test-threads 1`) will break. | ||||
* | Fix tests | Maximilian Bosch | 2019-12-05 | 1 | -8/+8 |
| | | | | | `eval_math_expression` expects `std::option::Option<f64>` rather than `f64`. | ||||
* | fix warnings as well as issues with the cache dir | Dominik Süß | 2019-10-14 | 3 | -30/+40 |
| | |||||
* | use cache dir | NerdyPepper | 2019-08-16 | 1 | -1/+3 |
| | |||||
* | remove unused crates | NerdyPepper | 2019-08-07 | 1 | -1/+0 |
| | |||||
* | load and store program state | NerdyPepper | 2019-08-06 | 1 | -6/+31 |
| | |||||
* | improve highlight for `_`, store program state | NerdyPepper | 2019-08-06 | 2 | -6/+34 |
| | |||||
* | Fix clippy lints | Ivan Tham | 2019-08-03 | 6 | -205/+187 |
| | |||||
* | Highlight constants | Ivan Tham | 2019-08-03 | 1 | -3/+6 |
| | |||||
* | Lazy static lex constants | Ivan Tham | 2019-08-03 | 1 | -58/+57 |
| | |||||
* | Add constants (e, pi) | Ivan Tham | 2019-08-03 | 2 | -4/+24 |
| | |||||
* | Reuse ans output and fix tests | Ivan Tham | 2019-08-03 | 3 | -14/+16 |
| | |||||
* | add previous answer access | NerdyPepper | 2019-07-09 | 4 | -33/+43 |
| | |||||
* | Fixed infinity and nan cases in pprint | Milan Markovic | 2019-07-02 | 1 | -3/+5 |
| | |||||
* | Added inf and nan | Milan Markovic | 2019-07-02 | 1 | -0/+8 |
| | |||||
* | Fixing crash on large result | Milan Markovic | 2019-07-02 | 1 | -5/+11 |
| | | | | | | | | | - Added depencency bignum - Using num::BigNum in format::pprint to handle f64 numbers that are larger than maximal i64 number (which was causing the bug) If you want full feature parity with bc perhaps bignums can be used as long as all operations are done on integers. | ||||
* | add complete syntax highlighting | NerdyPepper | 2019-07-02 | 1 | -1/+23 |
| | |||||
* | refactor readline code into separate module | NerdyPepper | 2019-06-24 | 2 | -93/+108 |
| | |||||
* | use better directory crate, use data_dir for history | NerdyPepper | 2019-06-24 | 1 | -7/+11 |
| | |||||
* | remove unused imports, closes #16 and #17 | NerdyPepper | 2019-06-23 | 1 | -6/+13 |
| | |||||
* | merge dev and master, fix conflictsv0.2.5 | NerdyPepper | 2019-06-20 | 1 | -1/+1 |
|\ | |||||
| * | Update dependencies | equal-l2 | 2019-06-09 | 1 | -1/+1 |
| | | |||||
* | | add basic syntax highlighting | NerdyPepper | 2019-06-20 | 1 | -12/+16 |
| | | |||||
* | | fixes for line length | NerdyPepper | 2019-06-20 | 1 | -2/+2 |
| | | |||||
* | | quicc fix | NerdyPepper | 2019-06-20 | 1 | -1/+1 |
| | | |||||
* | | add hinter, completer, matching bracket highlighter | NerdyPepper | 2019-06-18 | 1 | -9/+75 |
| | | |||||
* | | add imports | NerdyPepper | 2019-06-18 | 1 | -2/+5 |
| | | |||||
* | | add history hinting | NerdyPepper | 2019-06-18 | 1 | -2/+7 |
| | | |||||
* | | bugfix: precision ignored for other bases | NerdyPepper | 2019-04-27 | 1 | -1/+1 |
|/ | |||||
* | move formatting functions to new module | NerdyPepper | 2019-04-27 | 1 | -0/+86 |
| | |||||
* | refactor main.rs | NerdyPepper | 2019-04-27 | 1 | -80/+3 |
| | |||||
* | missed some diffs | NerdyPepper | 2019-04-27 | 1 | -2/+2 |
| | |||||
* | add error handling for radix fmt | NerdyPepper | 2019-04-27 | 1 | -1/+3 |
| | |||||
* | add formatter function | NerdyPepper | 2019-04-27 | 1 | -6/+43 |
| | |||||
* | add new `base` arg | NerdyPepper | 2019-04-27 | 1 | -0/+11 |
| |