Python, run by a sandboxed interpreter written in TypeScript. The whole thing runs here in your browser: no filesystem, no network, only the four tools this page registered.