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)
- Host: GitHub
- URL: https://github.com/pelenium/math-parser
- Owner: pelenium
- License: gpl-3.0
- Created: 2024-01-12T19:59:56.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-20T16:15:49.000Z (about 2 years ago)
- Last Synced: 2025-03-15T07:43:20.278Z (11 months ago)
- Topics: expression-evaluator, expression-parser, fsharp, math, mathematics, maths, parser, polish-notation
- Language: F#
- Homepage:
- Size: 27.3 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```