aboutsummaryrefslogtreecommitdiff
path: root/readme.md
diff options
context:
space:
mode:
authorNerdyPepper <[email protected]>2019-03-28 17:37:53 +0000
committerNerdyPepper <[email protected]>2019-03-28 17:37:53 +0000
commitfae1112aceaa061d17f28c7b49c71ba91feb6d73 (patch)
tree7f0571a8bb016850426124b3a9c6bd76fb330874 /readme.md
parent880c026ade14365f71ee967cfa926b8f53fe84c5 (diff)
new install instructions, todo items
Diffstat (limited to 'readme.md')
-rw-r--r--readme.md22
1 files changed, 18 insertions, 4 deletions
diff --git a/readme.md b/readme.md
index 1f85365..d13683e 100644
--- a/readme.md
+++ b/readme.md
@@ -1,9 +1,15 @@
1# eva 1# eva
2 2
3a read-eval-print-loop, similar to `bc(1)` 3simple 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))
245 305
25> 5sin(45) + cos(0) 31> 5sin(45) + cos(0)
264.535533905932738 324.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))
77ans: 6 83ans: 6
78``` 84```
79 85
86- super neat error handling
87```
88> 1 + ln(-1)
89Domain 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~~