aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* 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)`.
* 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-066-3/+2
|\ \
| * | fixes for nixAkshay2020-11-026-4/+2
| |/
* | Fix help on smaller terminalIvan Tham2020-11-021-19/+19
| | | | | | | | | | COLUMNS not working, using term_size crate for a more portable solution.
* | Add help commandIvan Tham2020-11-014-4/+50
|/ | | | Close #41
* 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.
* Fix testsMaximilian Bosch2019-12-051-8/+8
| | | | | `eval_math_expression` expects `std::option::Option<f64>` rather than `f64`.
* 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
|
* 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-032-4/+24
|
* 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-021-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 highlightingNerdyPepper2019-07-021-1/+23
|
* refactor readline code into separate moduleNerdyPepper2019-06-242-93/+108
|
* use better directory crate, use data_dir for historyNerdyPepper2019-06-241-7/+11
|
* remove unused imports, closes #16 and #17NerdyPepper2019-06-231-6/+13
|
* merge dev and master, fix conflictsv0.2.5NerdyPepper2019-06-201-1/+1
|\
| * Update dependenciesequal-l22019-06-091-1/+1
| |
* | add basic syntax highlightingNerdyPepper2019-06-201-12/+16
| |
* | fixes for line lengthNerdyPepper2019-06-201-2/+2
| |
* | quicc fixNerdyPepper2019-06-201-1/+1
| |
* | add hinter, completer, matching bracket highlighterNerdyPepper2019-06-181-9/+75
| |
* | add importsNerdyPepper2019-06-181-2/+5
| |
* | add history hintingNerdyPepper2019-06-181-2/+7
| |
* | bugfix: precision ignored for other basesNerdyPepper2019-04-271-1/+1
|/
* move formatting functions to new moduleNerdyPepper2019-04-271-0/+86
|
* refactor main.rsNerdyPepper2019-04-271-80/+3
|
* missed some diffsNerdyPepper2019-04-271-2/+2
|
* add error handling for radix fmtNerdyPepper2019-04-271-1/+3
|
* add formatter functionNerdyPepper2019-04-271-6/+43
|
* add new `base` argNerdyPepper2019-04-271-0/+11
|
* add width with fmtNerdyPepper2019-04-021-8/+3
|
* remove licence text, fix up pretty printingNerdyPepper2019-04-021-23/+9
|
* small refactorVla Mai2019-04-021-2/+0
|
* fix negative number printVla Mai2019-04-021-2/+2
|
* refactorVla Mai2019-04-021-28/+13
|
* add thousend separator printVla Mai2019-04-021-1/+41
|