Skip to content
NanoLanguagesPublic

About

Compact C/C++ transpiler in C11 with programmable macros, compile-time and build-time programs, and source rewrite passes

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

92 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NanoC (alpha)

Compact language that translates to C. Breaking changes expected.

cc -std=c11 -O2 mach.c -o mach
./mach            # build self-hosted compiler -> build/nanoc
./mach bootstrap  # verify 3 generations equal
./mach snapshot   # refresh C seed in bootstrap/
./mach install    # --prefix DIR

Source is NanoC in src/ and mach.nc; mach.c is generated from mach.nc (./mach snapshot). The build is plain C: no shell, no external tools.

About

Compact C/C++ transpiler in C11 with programmable macros, compile-time and build-time programs, and source rewrite passes

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages