aboutsummaryrefslogblamecommitdiff
path: root/README.md
blob: 892ffa1fa3f7e0e71c459e6d01e1ee21a6b297d0 (plain) (tree)
1
2
3
4
5
6
7
8
9







                                                 
                                








                                                             
# expression

Another expression parser and executor
Better version of https://github.com/neonxp/lexpr

## usage

```go
import "go.neonxp.ru/expression"
...
e := expression.New()
result, err := e.Eval(`2 + 2`) // 4, nil
...
```

## defaults

Default operators and functions: [/defaults.go](/defaults.go)