aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: f01f12f8eb6f794920362afac8e99d201db59d59 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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)