Create README.md

This commit is contained in:
Alex 2022-07-01 02:21:51 +03:00 committed by GitHub
parent cc4c01c69c
commit c99ce12f47
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

18
README.md Normal file
View file

@ -0,0 +1,18 @@
# expression
Another expression parser and executor
Better version of https://github.com/neonxp/lexpr
## usage
```go
import "go.neonxp.dev/expression"
...
e := expression.New()
result, err := e.Eval(`2 + 2`) // 4, nil
...
```
## defaults
Default operators and functions: [/defaults.go](/defaults.go)