Krypton Programming Language

A self-hosting language that compiles to native code — no C in the loop.

▶ Try in browserGet StartedSee Features

Krypton in 30 Seconds

Want to edit + run live? Open the playground or pick any lesson — each has a Run button.

What Makes Krypton Different

Self-Hosting

The compiler is written in Krypton itself and compiles itself. No bootstrap gap.

No C in the Loop

Native backends emit ELF, PE, and Mach-O directly. No LLVM, no GCC, no linker.

Cross-Platform

Linux x86_64, Windows x86_64, and macOS arm64 — all with native backends.

Small Surface

The entire language spec fits on one EBNF page. Compiler under 5,000 lines.

150+ Builtins

Strings, lists, maps, I/O, math, structs, JSON, HTTP — batteries included.

Familiar Syntax

Functions, loops, conditionals, match, try/catch, lambdas. If you know any language, you know Krypton.

Explore

0Example Programs
0Textbook Algorithms
0Tutorial Lessons
0Stdlib Modules
0Built-in Functions
0Native Backends