Skip to content
Aarik Pokras edited this page Dec 13, 2024 · 11 revisions

Welcome to the CxL documentation!

CxL adds on to the existing features of C++, making it more beginner-friendly and making compiled languages less daunting. It focuses on being compact, fast, and straightforward. It aims to be the "go-to" language that people use when they want to write a program.

Important

Functions cannot be declared in the main function (in between start and end).

Important

The io module must be imported to use CxL.

Including modules

To include a module, use the use@ preprocessor directive. It can be used as follows:

To import the io module:

use@io

Notice how there is no trailing semicolon.

Clone this wiki locally