c2wasm
A self-hosting C compiler targeting WebAssembly
GitHub
Program
Compiler
File:
Hello World
Fibonacci
Linked List
Bubble Sort
Collatz Sequence
Day of Week
Bit Flags
Greet
Float & Double
Integer Types
Memory & free()
String Ops
Function Pointers
String Arrays
Typedef Fn Ptr
Compound Assign
String Concat
Comma Operator
Storage Classes
Preprocessor
Union Types
Goto & Labels
Function-like Macros
2D Arrays
Extended libc
Variadic Functions
Random Numbers
+ New
✕ Delete
▶ Compile & Run
Debug
Source:
🔨 Build Compiler
↺ Reset
Debug
↓ Step Into
→ Step Over
▶ Continue
■ Stop
Using: Reference
❯