The Gamma Language
5 days ago
- #preprocessor
- #C programming
- #template engine
- Gamma is a self-hosting C preprocessor for templated data structures.
- It's an experiment in minimal template engine design for C without parsing C.
- Gamma is a strict superset of C and enables templates via CC="gc gcc".
- Quickstart involves cloning, building, and running example code like sorting.c.
- Gamma is bootstrap-compatible with normal C compilers and easy to vendor.
- Supports object files, static archives, and linking with normal C object files.
- Created by Matthew and Akshay.
- Includes examples of generic sort, print routines, and vector data structures.