please enjoy: my Wasm-hosted, Wasm-targeting build of Clang/Clang++/LLD: a self-contained, 25 MiB (gzipped) pure function
https://www.npmjs.com/package/@yowasp/clang
@whitequark this is cursed beyond belief, w-why?!
@k i've compiled the entire FPGA toolchain (synthesis and P&R) to WebAssembly, and most of the verification options (whether Verilator or CXXRTL) output C++. so you need to be able to compile C++ code to simulate RTL
@whitequark I don't usually follow people from mastodon social because the instance is unmoderated but you've just earned it, holy hell.
@k see https://yowasp.org for details
YoWASP

Unofficial WebAssembly-based packages for Yosys, nextpnr, and more

YoWASP