Compiler explorer

JavaScript, meet C.

Edit the source. Inspect the C. Follow the connection.

Compiled in your browser.
Your code stays on your device.

Select a source statement or a C line to see how they connect.

Statement mappings
01

JavaScript / TypeScript

Ln 1, Col 1Types erased · 64 KiB limit
02

Emitted C

Ready when you are

A closer look at your code.

Compile an example to explore its native output.
Select a line on either side to follow it across.

No output yet

Choose an example or paste your code, then compile.

From source to native. The C includes Maligator’s runtime calls and selected native specializations, ready for the native toolchain.

Optimizations can combine, move, or remove source statements. Highlighting follows the positions retained by the compiler.