Open
Description
hi,
I am using expr for creating a DSL to program music melodies (melrōse.org) .
The version (v1.17.5) has support for the operator if else
but this conflicts with my custom "if" function.
For earlier releases, I was able to disable functions:
for _, each := range []string{"join", "repeat", "trim", "replace", "duration", "map"} {
options = append(options, expr.DisableBuiltin(each))
}
However, this does not work for the "if" operator. Please advice how to accomplish this.