expr
expr copied to clipboard
Expression language and expression evaluation for Go
I'd like to explain to users how a result was calculated: Say we have this expression, this is what it would print out: * `c + p / e +...
It's kinda hard to compare and calculate time in `expr`, any ideas to improve this?
I am trying to put a check in map access. if you have a Golang map foo and it **does not** have an element "bar" the code below will fail...
Hi! Is it possible to provide a `Getter` interface for `fetch` ops? ``` golang type Getter interface { Get(key string) (interface{}, bool) } ``` ``` golang Env = map[string]interface{}{ "ctx":...
Hey Anton, I wrote this extension to use Numpy array math operations in expr. Let me know your feedback Sebastien
Added bitwise operators the the package
For my use case I need to allow only small subset of operators, is there currently any way to do that?
Hi! When I am trying to patch a Node, let's say from a Integer Node to a Function Node like the following: ` if n, ok := (*node).(*ast.IntegerNode); ok {...
- Can add support for bitwise operators if possible
This is for the issue I opened here : https://github.com/antonmedv/expr/issues/169