One idea i have for this is to store the function logic as strings within another table. (oUF.TagsLogicStrings)
upon initial addon_loaded event i would compile each function string to the oUF.Tags table and from that point ouf.tags is operating as it does normally.
when a user needs to edit the logic, the editor then pulls the logic string from oUF.TagsLogicStrings[tagName] and presents it the editor multiline field.
user then modifies the logic and saves it at which point the string is recompiled back to oUF.Tags.
|