Skip to main content
C△ (C Triangle) is a systems programming language that extends C11 with first-class strings, dynamic arrays, memory ownership, inline assembly, and a clean standard library — without the ceremony of C++. The Hypotenuse Compiler turns your .ctri source files into native Linux ELF x86_64 or macOS ARM64 binaries, using GCC and NASM under the hood. Whether you are writing low-level system tools or experimenting with modern C-style code, C△ gives you full control with a learnable, explicit syntax.

Introduction

Learn what C△ is, why it was created, and the design principles that shape the language.

Installation

Install the Hypotenuse Compiler on Linux or macOS and set up your development environment.

Quickstart

Write, compile, and run your first C△ program in under five minutes.

CLI Reference

Explore every flag the hypotenuse command accepts, from -c to -C and beyond.

Get started

1

Install the Hypotenuse Compiler

Clone the repository and run make full-install to build a self-contained binary and place it on your PATH. See the Installation guide for full details.
2

Write your first .ctri file

Create a file named hello.ctri, import the standard library with using <plstd>, and call printd("Hello, C△!") inside int main().
3

Compile and run

Run hypotenuse -c hello.ctri to produce a native executable, then execute it with ./hello.