TSFuck – A type-level Brainfuck interpreter in TypeScript

1 finnbarmcc 1 5/28/2025, 11:42:40 PM github.com ↗

Comments (1)

finnbarmcc · 1d ago
The interpreter runs purely at compile time as it is written in types. See main.ts.

type Compute0 = Brainfuck<"++++++[>+++++<-]>+++.">

type O = Output;

Hovering Output in VSCode will show the result of the brainfuck program: "!" in this case.