aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: de27264d41d1720cd64dfd44476fbfdc91bec5c3 (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 "neonxp.ru/go/expression"
...
e := expression.New()
result, err := e.Eval(`2 + 2`) // 4, nil
...
```

## defaults

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