No description
Find a file
2024-04-28 00:18:35 +03:00
defaults.go first commit 2022-07-01 02:16:07 +03:00
evaluator.go first commit 2022-07-01 02:16:07 +03:00
evaluator_test.go first commit 2022-07-01 02:16:07 +03:00
execute.go first commit 2022-07-01 02:16:07 +03:00
go.mod Обновление имени пакета 2024-04-28 00:18:35 +03:00
infixrpn.go first commit 2022-07-01 02:16:07 +03:00
LICENSE Create LICENSE 2022-07-01 02:22:27 +03:00
README.md Create README.md 2022-07-01 02:21:51 +03:00
stack.go first commit 2022-07-01 02:16:07 +03:00
token.go first commit 2022-07-01 02:16:07 +03:00

expression

Another expression parser and executor Better version of https://github.com/neonxp/lexpr

usage

import "go.neonxp.dev/expression"
...
e := expression.New()
result, err := e.Eval(`2 + 2`) // 4, nil
...

defaults

Default operators and functions: /defaults.go