IEC builder

How this work?

  • Everything here compiles and runs directly in your browser by power of WebAssembly (wasm)
  • We build Rusty to the wasm Emscripten target. Because Rusty needs linked LLVM, we use YoWASP LLVM.
  • That Rusty build is used to convert IEC into LLVM IR.
  • Then the LLVM IR is assembled and compiled in the browser with the YoWASP LLVM toolchain using llvm-as and llc.
  • Then wasm-ld links that output into the final wasm module.
  • Then we run that wasm module in your browser.
  • For extra wasm fun: even this site is served by Wasmer.

IEC

LLVM IR

Compiler output

Idle
No build yet.

Run output

No execution yet.