Solves Advent of Code 2022 using Wasm written in C, running on Cloudflare Workers WASI.
Visit the URL of the day you want to solve. Paste the input in the box. Click button.
- Install WASI-SDK (https://github.com/WebAssembly/wasi-sdk, I did the full build)
- Clone repo
- Edit makefiles to target your wasi-sdk directory
- type "npm install"
- type "npx wrangler dev -l" to test locally