blob: de27264d41d1720cd64dfd44476fbfdc91bec5c3 (
plain) (
tree)
|
|
# 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)
|