X and X++ Language Docs
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

X and X++ Programming Languages

X++ Programming Language

extern printf(i8*, ...) i32;

fn main() void {
    printf("hello world!\n");
}

X++ is a simple low-level programming language ideal for type-safety, fast-runtimes and an opinionated compiler. The compiler itself is written in C++, and generates the intermediate representation for LLVM, enabling the binary output to achieve similar performance to C++ and Rust. This also has the added benefit of making the compiler cross-platform.

To get started with X++, see the getting started information here.

For a look at the formal CFG of the language, see the grammar page

X Programming Language

The ‘X Programming Language is no longer under development but the docs remain online. Use of X++ is suggested as an alternative.

To get started with X, see the getting started information here.