Tools: Nanolang: A Tiny Experimental Language Designed To Be Targeted By...

Tools: Nanolang: A Tiny Experimental Language Designed To Be Targeted By...

A tiny experimental language designed to be targeted by coding LLMs

A minimal, LLM-friendly programming language with mandatory testing and unambiguous syntax.

NanoLang transpiles to C for native performance while providing a clean, modern syntax optimized for both human readability and AI code generation.

Self-hosting: NanoLang supports true self-hosting via a Stage 0 → Stage 1 → Stage 2 bootstrap (make bootstrap); see planning/SELF_HOSTING.md.

Windows 10/11 users: NanoLang runs perfectly on Windows via WSL2 (Windows Subsystem for Linux).

Why WSL? NanoLang's dependencies (SDL2, ncurses, pkg-config) are Unix/POSIX libraries. WSL2 provides a full Linux environment with near-native performance on Windows.

Note: Native Windows binaries (.exe) are not currently supported, but may be added in a future release via cross-compilation.

These platforms should work but are not actively tested in CI:

NanoLang includes several modules with automatic dependency management:

Modules automatically install dependencies via package managers (Homebrew, apt, etc.) when first used. See docs/MODULE_SYSTEM.md for details.

Source: HackerNews