Rawr Programming Language

Rawr is a system programming language. It is a modern take on C with features like optional, slice, module, compile time execution and an integrated build system.

It is designed with the following goals:

  • Joy of programming: helpful error messages, fast iteration speed, painless to build and share code.
  • Simplicity: small and focused language you can learn in a day, easy to make tools for.
  • Performance: manual memory management with great support for allocators.
Rawr is still a work in progress so expect bugs and breaking changes.

The compiler is written in C11 and only uses the standard library as dependency. It directly output executables and doesn't need an external linker or assembler. The Rawr compiler runs on and targets Windows x64, GNU/Linux x64, macOS ARM64 with the ability to cross compile.

Example

factorial fn(nb: i32) -> i32 {
    if nb == 1 {
        return 1
    } else {
        return nb * factorial(nb - 1)
    }
}

Get started

TOUR
A brief overview of the language
DOWNLOAD
Install Rawr