Tristan de Cacqueray
Tristan de Cacqueray
I misread your proposal which suggest custom event groups. So here is another draft: ```haskell data Bot state m = Bot { , initState :: m state , handleEvent ::...
Thank you for taking the time to write the details, I think we are making good progress here. I am happy to use a different terminology and API, and it...
It's definitely a clever, and ambitious path you are taking, so it's ok to keep the complicated part around until we get something ergonomic. If I understand correctly, the main...
Well I also think think this is kinda complex, but as the dear-imgui.hs maintainers once said, I'm ultimately just interested in progress, so whatever enables you to get stuff done...
@Kritzefitz have you seen https://github.com/cofree-coffee/cofree-bot/ ?
Thank you for proposing that implementation. Though I'm afraid this goes beyond the scope of this project, and such matrix-bot should probably live in another repository. I'm closing this for...
Good to hear! You can get a reproducer from https://tristancacqueray.github.io/tiny-game-haskell-wasm/ , where the shim is patched locally to remove the throw. The expected result is that pressing enter should clear...
I'm giving the `SharedArrayBuffer` approach a try with a web worker, and it doesn't seem to ever get to the `fd_read` call. I guess `poll_oneoff` needs to do something with...
@bjorn3 sure, I am using this branch: https://github.com/TristanCacqueray/browser_wasi_shim/tree/worker-example Please note that I've never used web worker and atomics before. When browsing the dist, in the console I see an infinite...
Thank you, that's super helpful. It seems like returning `FILETYPE_CHARACTER_DEVICE` in fd_fdstat_get is necessary too.