aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #51 from Ma27/exp-and-roundIvan Tham2022-01-055-50/+238
|\ | | | | Add functions `exp()`, `exp2()` & `round()`; fix minor readline issues
| * readline: explain constant highlighting regexMaximilian Bosch2022-01-041-0/+16
| |
| * rustyline: disable default featuresMaximilian Bosch2022-01-042-63/+5
| |
| * Implement a few more testcasesMaximilian Bosch2021-12-301-0/+26
| |
| * Add `round()` functionMaximilian Bosch2021-12-301-0/+1
| |
| * Allow expressions such as `e2` as multiplication of `e * 2`Maximilian Bosch2021-12-302-0/+11
| |
| * Deduplicate references to functions & constantsMaximilian Bosch2021-12-301-8/+5
| |
| * Fix highlighting of `e` vs `exp`Maximilian Bosch2021-12-301-2/+4
| |
| * Update rustyline to v9Maximilian Bosch2021-12-303-35/+222
| | | | | | | | | | | | 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 listMaximilian Bosch2021-12-301-1/+1
| |
| * Add `exp2` function and ensure it's correctly lexedMaximilian Bosch2021-12-301-6/+11
| |
| * Add `exp(x)` function which evaluates to `e^x`Maximilian Bosch2021-12-301-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)`.
* Document `_`sigmaSd2021-01-261-0/+9
|
* Merge branch 'patch-1' of https://github.com/0xflotus/eva into readme-fixesAkshay2020-11-061-2/+2
|\
| * fix: small errors0xflotus2020-11-051-2/+2
| |
* | Merge branch 'color' of https://github.com/pickfire/eva into colored-helpAkshay2020-11-061-1/+2
|\ \
| * | Add colored helpIvan Tham2020-11-051-1/+2
| |/
* | Merge branch 'master' into pickfire-helpAkshay2020-11-0611-3/+193
|\ \
| * | fixes for nixAkshay2020-11-0211-4/+193
| |/
* | Fix help on smaller terminalIvan Tham2020-11-023-19/+31
| | | | | | | | | | COLUMNS not working, using term_size crate for a more portable solution.
* | Add help commandIvan Tham2020-11-014-4/+50
|/ | | | Close #41
* add double star (exponent) operator to listAkshay2020-10-121-1/+1
|
* Accept `**` operator as exponentiation (#39)David Tolnay2020-10-122-1/+12
| | | | | * Accept `**` operator as exponentiation * Add test of exponentiation
* Don't parse arguments during `cargo test` (#37)Maximilian Bosch2020-08-291-0/+11
| | | | Otherwise, running the tests with special arguments (e.g. `cargo test -- --test-threads 1`) will break.
* Add Homebrew install instructions (#36)Dario Vladović2020-05-251-0/+5
|
* Merge pull request #35 from pickfire/lockAkshay2020-04-102-5/+451
|\ | | | | Add Cargo.lock
| * Add Cargo.lockIvan Tham2020-04-102-5/+451
|/ | | | https://doc.rust-lang.org/cargo/faq.html#why-do-binaries-have-cargolock-in-version-control-but-not-libraries
* update linksAkshay2020-02-031-2/+2
|
* Fix testsMaximilian Bosch2019-12-051-8/+8
| | | | | `eval_math_expression` expects `std::option::Option<f64>` rather than `f64`.
* bump versionAkshay2019-11-071-1/+1
|
* Merge branch 'master' of https://github.com/nerdypepper/evav0.2.7v0.2.6Akshay2019-11-071-0/+0
|\
| * Merge pull request #29 from jcgruenhage/patch-1Akshay2019-10-281-0/+0
| |\ | | | | | | Rename LICENCE to LICENSE
| | * Rename LICENCE to LICENSEJan Christian Grünhage2019-10-261-0/+0
| |/ | | | | Even though licence is strictly speaking also a correct spelling in the UK, license is more consistent with other projects and especially with the license text here
* / fix broken linksAkshay2019-11-071-2/+2
|/
* fix warnings as well as issues with the cache dirDominik Süß2019-10-143-30/+40
|
* use cache dirNerdyPepper2019-08-161-1/+3
|
* remove unused cratesNerdyPepper2019-08-071-1/+0
|
* credit @pickfire, @hepek, @kzoper for their help!NerdyPepper2019-08-061-0/+9
|
* load and store program stateNerdyPepper2019-08-061-6/+31
|
* improve highlight for `_`, store program stateNerdyPepper2019-08-062-6/+34
|
* Fix clippy lintsIvan Tham2019-08-036-205/+187
|
* Highlight constantsIvan Tham2019-08-031-3/+6
|
* Lazy static lex constantsIvan Tham2019-08-031-58/+57
|
* Add constants (e, pi)Ivan Tham2019-08-033-6/+39
|
* Reuse ans output and fix testsIvan Tham2019-08-033-14/+16
|
* add previous answer accessNerdyPepper2019-07-094-33/+43
|
* Fixed infinity and nan cases in pprintMilan Markovic2019-07-021-3/+5
|
* Added inf and nanMilan Markovic2019-07-021-0/+8
|
* Fixing crash on large resultMilan Markovic2019-07-022-5/+12
| | | | | | | | | - 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.
* bump to 0.2.6NerdyPepper2019-07-021-1/+1
|