diff options
author | NerdyPepper <[email protected]> | 2019-03-28 17:37:53 +0000 |
---|---|---|
committer | NerdyPepper <[email protected]> | 2019-03-28 17:37:53 +0000 |
commit | fae1112aceaa061d17f28c7b49c71ba91feb6d73 (patch) | |
tree | 7f0571a8bb016850426124b3a9c6bd76fb330874 | |
parent | 880c026ade14365f71ee967cfa926b8f53fe84c5 (diff) |
new install instructions, todo items
-rw-r--r-- | readme.md | 22 |
1 files changed, 18 insertions, 4 deletions
@@ -1,9 +1,15 @@ | |||
1 | # eva | 1 | # eva |
2 | 2 | ||
3 | a read-eval-print-loop, similar to `bc(1)` | 3 | simple calculator REPL, similar to `bc(1)` |
4 | 4 | ||
5 | ### installation | 5 | ### installation |
6 | 6 | ||
7 | - crates.io | ||
8 | ```shell | ||
9 | $ cargo install eva | ||
10 | ``` | ||
11 | |||
12 | - manual | ||
7 | ```shell | 13 | ```shell |
8 | $ git clone https://github.com/nerdypepper/eva.git | 14 | $ git clone https://github.com/nerdypepper/eva.git |
9 | $ cargo run | 15 | $ cargo run |
@@ -23,7 +29,7 @@ type out an expression and hit enter, repeat. | |||
23 | > floor(sqrt(3^2 + 5^2)) | 29 | > floor(sqrt(3^2 + 5^2)) |
24 | 5 | 30 | 5 |
25 | > 5sin(45) + cos(0) | 31 | > 5sin(45) + cos(0) |
26 | 4.535533905932738 | 32 | 4.53553 |
27 | ``` | 33 | ``` |
28 | 34 | ||
29 | ### operators | 35 | ### operators |
@@ -77,12 +83,20 @@ ceil(sqrt(3^2 + 5^2 # ceil(sqrt(3^2 + 5^2)) | |||
77 | ans: 6 | 83 | ans: 6 |
78 | ``` | 84 | ``` |
79 | 85 | ||
86 | - super neat error handling | ||
87 | ``` | ||
88 | > 1 + ln(-1) | ||
89 | Domain Error: Out of bounds! | ||
90 | ``` | ||
91 | |||
80 | ### todo | 92 | ### todo |
81 | 93 | ||
82 | - ~~add detailed error handler~~ | ||
83 | - add support for variables (ans, pi, e) | 94 | - add support for variables (ans, pi, e) |
84 | - multiple arg functions | 95 | - multiple arg functions |
85 | - ~~unary operators (minus, plus)~~ | ||
86 | - screenshots | 96 | - screenshots |
97 | - create logo | ||
98 | - ~~unary operators (minus, plus)~~ | ||
99 | - ~~add detailed error handler~~ | ||
100 | - ~~add unit tests~~ | ||
87 | - ~~lineditor~~ with syntax highlighting | 101 | - ~~lineditor~~ with syntax highlighting |
88 | - ~~add more functions~~ | 102 | - ~~add more functions~~ |