Initial commit

This commit is contained in:
2026-04-24 07:24:03 +02:00
parent 14fced76f0
commit f6a1b290fc
7 changed files with 84 additions and 15 deletions
+17
View File
@@ -0,0 +1,17 @@
# 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.