About Krypton

A small, opinionated programming language built around one idea: compile straight to native code, in itself, with no toolchain underneath.

Why Krypton Exists

Most languages depend on LLVM backends, C compilers, system linkers, and runtimes in other languages. Krypton takes a different approach — the compiler is written in Krypton itself and directly emits ELF, PE, and Mach-O binaries.

Design Principles

No C in the Loop

Each platform has its own native backend written in Krypton that generates machine code directly.

Self-Hosting First

The compiler compiles itself. Language changes that break self-compilation cannot be released.

One Value Type

All values are strings at runtime, with numeric operations handled through smart-int dispatch.

Small Surface

The entire language specification fits on a single EBNF page, with the compiler under 5,000 lines.

Current Status

Krypton reached version 2.1.1 in May 2026. Three native backends, a self-hosting compiler, 36 standard library modules, 84 example programs.

Credits

Developed by t3m3d under KryptonBytes, licensed under Apache 2.0.