c90f3afd9518de79503e67e34300140c8def3d89
- Defined V0_SRC_DEPS and V0_TEST_DEPS in v0/include.mk - Updated clean rule to remove dependency files - Referenced dependency variables for .d includes - Added and deduplicated file-read test in v0/test_buffer.c All tests pass. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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 c2–compiler, 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.
Description
Languages
C
96.5%
Makefile
3.5%