You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12-5Lines changed: 12 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,11 +7,11 @@
7
7
8
8
`numero` is software for parsing and evaluating mathematical expressions. It is available as a library and as a web service.
9
9
10
-
###motivation
10
+
## motivation
11
11
12
12
This project started as an exercise in doing some recreational programming. I always knew about the [shunting yard algorithm](https://en.wikipedia.org/wiki/Shunting_yard_algorithm) but never really got to implement it. Lately, I've been writing a lot of code in Go and decided to just do this.
13
13
14
-
###usage
14
+
## usage
15
15
16
16
The library can be used as follows.
17
17
@@ -56,7 +56,7 @@ curl --request POST \
56
56
}'
57
57
```
58
58
59
-
###documentation
59
+
## documentation
60
60
61
61
**Supported functions**
62
62
-`sin`
@@ -68,6 +68,13 @@ curl --request POST \
68
68
-`max`
69
69
-`min`
70
70
71
+
**Supported operators**
72
+
-`+`
73
+
-`-`
74
+
-`*`
75
+
-`/`
76
+
-`^`
77
+
71
78
**API**
72
79
73
80
`POST /api/v1/eval`
@@ -88,7 +95,7 @@ Response body:
88
95
}
89
96
```
90
97
91
-
###contributing
98
+
## contributing
92
99
93
100
I am happy to accept pull requests. No hard rules.
94
101
@@ -106,6 +113,6 @@ make test
106
113
make run-dev
107
114
```
108
115
109
-
###acknowledgements
116
+
## acknowledgements
110
117
111
118
created by Vivek Nathani ([@viveknathani_](https://twitter.com/viveknathani_)), licensed under the [MIT License](./LICENSE).
0 commit comments