Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/neonxp/expression

Another expression parser aand executor
https://github.com/neonxp/expression

Last synced: about 1 month ago
JSON representation

Another expression parser aand executor

Awesome Lists containing this project

README

        

# 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)