Skip to content
@csq-lang

C² Language

A low-level language built for simplicity and complete control.
logo

C² Language

A simple and efficient programming language designed for modern software development.

Overview

C² is a compiled language that combines the performance of low-level languages with the simplicity and readability of high-level languages.

It tries to be as pragmatic as possible, avoiding abstraction and letting the user control the behavior of the language, instead of they being controlled by C².

Features

  • Static typing with type inference
  • Memory safe compilation
  • Fast execution
  • Simple syntax
  • Cross-platform support

Getting Started

Basic Syntax

Variables and Types

int count = 10
float pi = 3.14159
bool active = true

Functions

func add(int a, int b) -> int {
    return a + b
}

Control Flow

if (count > 5) {
    // Greater than
} else {
    // Less or Equal than 
}

You can find more information here

Pinned Loading

  1. csquared csquared Public

    Official source of the C² language.

    C 6 2

  2. spec spec Public

    The specification of C to the power of 2.

    CSS

Repositories

Showing 4 of 4 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…