Rawr

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.
Croûte the frog

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.

Rawr is still a work in progress so expect bugs and frequent language’s design changes. I talk about the features i am working on in the TODO page.

Example

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

More examples

Documentation

Download

soon™