From c99ce12f47f9090a618025e073ad1a96bdc1a875 Mon Sep 17 00:00:00 2001 From: Alex Date: Fri, 1 Jul 2022 02:21:51 +0300 Subject: [PATCH] Create README.md --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 README.md 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)