diff options
author | Alex <i@neonxp.dev> | 2022-07-01 02:21:51 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-01 02:21:51 +0300 |
commit | c99ce12f47f9090a618025e073ad1a96bdc1a875 (patch) | |
tree | 3582399509ebef82985447ff3a1dfa62c05f9e30 /README.md | |
parent | cc4c01c69c238c92602b393ed87575ba5edad352 (diff) |
Create README.md
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..f01f12f --- /dev/null +++ b/README.md @@ -0,0 +1,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) |