Just thought I’d chime in since I found this last night looking for a better way to evaluate expressions in script (in 8.1.x). Seems to work perfectly! Still had to resolve the relative tag paths “[.]” (unless there’s a way to make this happen) but better than all the functions I was trying to redefine to use in script. Kept hitting roadblocks there… Good job my good sir!
Problem I was trying to solve mainly was resolving expressions in alarms. Just reading the tags/properties gave a value but not always correct. Can’t seem to determine when those bindings actually execute for the reads to work other than usually the tag / alarm has to be enabled…