azula

A fast, statically typed compiled language

Azula

chat issues

Azula is a strongly-typed compiled language, using an LLVM backend, with the following goals:

  • Static typing
  • Easy-to-read syntax
  • Efficient execution

Discord

Compiling Your Code

azula build FILENAME

or to run directly:

azula run FILENAME

Progress

Short term goals:

  • Lexing
  • Parsing
  • Typechecking
  • Azula IR codegen
  • LLVM backend
  • Hooking into C standard library functions
  • Arrays
  • Loops
  • Structures
  • Methods
  • Multi-file projects
  • Beginnings of a standard library

Example Code

func fib(x: int): int {
    if x == 0 || x == 1 {
        return x;
    }
    return fib(x - 1) + fib(x - 2);
}

func main {
    printf("%d\n", fib(15));
}

Requirements

  • LLVM 13
Repository

azula

Owner
Statistic
  • 27
  • 1
  • 0
  • 0
  • 0
  • almost 3 years ago
  • July 12, 2019
License

MIT License

Links
Synced at

Sat, 21 Dec 2024 13:11:16 GMT

Languages