C² Language
A simple and efficient programming language designed for modern software development. Compiled, pragmatic, and built to keep you in control.
Static typing
With type inference where it helps.
Fast execution
Low-level performance focus.
Cross-platform
Designed to run anywhere you build.
Basic syntax
Clean, familiar, and focused on clarity.
int add(int a, int b) {
return a + b
}Overview
C² aims to combine the performance you expect from systems languages with the readability and ergonomics you want day to day. The philosophy is pragmatic: avoid unnecessary abstraction and make behavior explicit.
For detailed language rules and semantics, see the spec.
Features
- Static typing with type inference
- Memory safe compilation
- Fast execution
- Simple syntax
- Cross-platform support
Structures
type point2d = struct {
int x;
int y;
};
point2d p = {6, 8};Control flow
if (count > 5) {
// Greater
} else {
// Less or Equal
}Getting started
C² is open source. The best way to begin is to explore the repository, read the docs, and follow the project's build and usage instructions.
