tengo
tengo copied to clipboard
Allow defining custom builtins
This is a feature I've found very helpful in my project, SceneEngine.
For my use case, I've got custom user scripts being imported by a runtime script and I need to expose custom builtin functions to that userscript. I tried creating the builtin as globals, but globals aren't exposed to libraries when they're imported.