An open API service indexing awesome lists of open source software.

https://github.com/pelenium/math-parser

Math parser of expressions in Polish notaiton (LISP like)
https://github.com/pelenium/math-parser

expression-evaluator expression-parser fsharp math mathematics maths parser polish-notation

Last synced: 8 months ago
JSON representation

Math parser of expressions in Polish notaiton (LISP like)

Awesome Lists containing this project

README

          

# math parser

## What can it parse?

### Basic math operations

```lisp
(+ 10 (/ 5 2)) ;; result - 12
```

```lisp
(/ 138 (+ 5 (* 3 6))) ;; result - 6
```

### Trigonometric functions and working with roots

```lisp
(sin (+ 3 (/ 54 2))) ;; result - 0,49999999999999994
```

```lisp
(sqrt (sq -5)) ;; result - 5
```