GeneriK

Results 14 comments of GeneriK

Hello lafriks, that's partially correct. The conversion is done by the Boolean Float operators. When you use only interface operators gval will not cast. ```go gval.InfixOperator("+", f func(a, b string)...

Yes the VariableSelector is currently fixed tied to variables. That is the reason why `[10,11,12,13][2]` can't be parsed. The VariableSelector could instead be implemented as a PostfixOperator.

I can do this but it will take some time.

Hi, gval is not under activly development by paessler ag. I'm accepting merge request and try to answer the issues as an side project. As far as I know this...

You would probably need to reimplement / copy the ident extension inside gval and pass the variable name through the context of the parser. Maybe by storing an AddVariable closure...

@skyf0cker yeah sry. gval is a spare time project for me as well. Feel free to make a pull request. @StrangeYear you can override the calculation itself: ```go var lang...

Hi tarunlalwani, if you add a test case I can merge this. In your use case it is actually not necessary. You could simply cast d to an map: `filter,...

Hi skyf0cker, I think the meta data should be collected via the context.Context inside the parser closures. This should be an optional feature that can be activated by swapping standard...

I can not merge this into 1.x because this is a breaking change.