aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* bump to v0.3.0Akshay2022-04-051-3/+3
|
* readline: explain constant highlighting regexMaximilian Bosch2022-01-041-0/+16
|
* 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-301-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 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)`.
* 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
|