Pnut

Pnut

C transpiler targeting readable POSIX shell

Description

Minimal systems may have only a POSIX shell and no C compiler, making toolchain bootstrapping hard. Pnut is a self-compiling C transpiler targeting human-readable POSIX shell.

It compiles itself and its scripts run on any POSIX shell, ideal for trusted bootstrapping and reproducible builds.

Features



C to shell:Readable.

Self-hosting:Compiles itself.

Bootstrap:From scratch.

POSIX:Runs anywhere.