seeseemelk ea55dedd07 Refactor AST and Parser into modular subdirectories
- Split ast.h into granular headers in v0/ast/
- Split parser.c into modular implementation files in v0/parser/
- Move and rename parser tests to v0/parser/test_*.c
- Update build system (include.mk) with modular sub-makefiles
- Maintain v0/ast.h and v0/parser.h as umbrella headers
2026-04-30 21:23:07 +02:00
2026-04-29 21:20:52 +02:00
2026-04-28 16:07:46 +02:00
2026-04-29 21:39:48 +02:00
2026-04-28 16:07:46 +02:00
2026-04-26 22:30:51 +02:00
2026-04-24 14:52:36 +02:00
2026-02-25 15:38:32 +01:00
2026-04-24 09:29:53 +02:00

C2

C2 is a programming language based on C. It adds modern high-level features such as metaprogramming, generics, etc, but compiles down to C89.

Building

To build the c2compiler, simply run make or make all. This will build the compiler and run the tests.

In order to only build the compiler, run make c2. In order to run the tests, run make test.

Versioning

The current version is v0. Its source code lives in the v0 directory.

Languages Specifications

See the specs directory for information on the actual language syntax.

S
Description
No description provided
Readme 339 KiB
Languages
C 96.5%
Makefile 3.5%