Right now Ops are written in Lua. Initial versions before I launched Operate used javascript but I wasn't satisfied with the sandboxing options for being able safely run it in a browser. Hence turning to Lua.
In recent weeks I've been playing with Quickjs - <a href='https://bellard.org/quickjs/'>https://bellard.org/quickjs/</a> - compiled to WASM, which wasn't available when I built Operate. Would be a lot of work to redo Operate to use quickjs, but I think that would be the way to do it. Food for thought.
Right now Ops are written in Lua. Initial versions before I launched Operate used javascript but I wasn't satisfied with the sandboxing options for being able safely run it in a browser. Hence turning to Lua.
In recent weeks I've been playing with Quickjs - <a href='https://bellard.org/quickjs/'>https://bellard.org/quickjs/</a> - compiled to WASM, which wasn't available when I built Operate. Would be a lot of work to redo Operate to use quickjs, but I think that would be the way to do it. Food for thought.