Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/neonxp/expression
- Owner: neonxp
- License: gpl-3.0
- Created: 2022-06-30T23:15:48.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-06-30T23:22:27.000Z (over 2 years ago)
- Last Synced: 2023-07-08T06:37:49.550Z (over 1 year ago)
- Language: Go
- Size: 19.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)