Love to see what this looks like if its available to look at somewhere (Github?). Sounds super interesting, even as a toy project
That said, here's some of the wazero-based code on a branch - https://github.com/cube2222/octosql/tree/wasm-experiment/was...
It really is just a very very basic prototype.