ALPHA: breaking changes expected. What that means
NanoC

C without the ceremony

NanoC is a small programmable frontend for C. You write less, the compiler emits ordinary, readable C11, and your C compiler, libraries and tools keep working unchanged.

InstallTry it in the browserTake the tour

NanoC
+stdio
f main
  for i := 1; i <= 3; i++
    printf("hello %d\n", i)
  0
C
#include <stdio.h>

int main(void) {
    for (int i = 1; i <= 3; i++) {
        printf("hello %d\n", i);
    }
    return 0;
}

The left side is NanoC, the right side is exactly what the compiler writes. No runtime library, no hidden allocation, no new ABI.

Why NanoC

Explore

Built for AI-assisted coding

NanoC ships a compact syntax card, JSON diagnostics and a repair loop, so an LLM can write and fix it with few tokens. Use the prompt builder to turn an idea into a ready-to-paste prompt, or point your agent at llms.txt.

sh
nanoc help syntax
nanoc check file.nc --json