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;
double pi = 3.14159;
bool active = true;
ulong id = 9143145u;

Functions

int add(int a, int b) {
    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 9 2

  2. spec spec Public

    The specification of C to the power of 2.

    CSS 1

  3. csq-lang.github.io csq-lang.github.io Public

    Main website! Made with Hugo.

    HTML 1

  4. examples examples Public

    Official examples for C² programming language

Repositories

Showing 7 of 7 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…