Leprosy is a programming language named after the 1988 Death album. It transpiles to C — raw systems-level power, no runtime, no garbage collector.
The entire compiler was built in ~20 minutes using Claude Sonnet. Cost: under €1.
This web server was written in Leprosy itself.
You summon it. You perish it.
Native speed. Zero overhead.
Declare any C function with backstage.
Functions are rip. Loops make you suffer.
# Requires Go 1.21+ git clone <repo> cd leprosy go build -o lepc ./cmd/lepc ./lepc hello.lep -o hello ./hello
-- hello.lep
rip main() void {
unleash x = 42
scream("Leprosy lives")
scream(x)
}| Keyword | C Equivalent | Meaning |
|---|---|---|
| rip | function | Define a function |
| unleash | variable | Declare a variable |
| eternal | #define | Constant value |
| offer | return | Return a value |
| judgement | if | Conditional branch |
| otherwise | else | The other path |
| suffer | for | Loop |
| escape | break | Exit a loop |
| scream | printf | Print to stdout |
| summon | malloc | Allocate memory |
| perish | free | Free memory |
| corpse | struct | Define a struct |
| backstage | extern | Declare a C function |