Azula is a strongly-typed compiled language, using an LLVM backend, with the following goals:
- Static typing
- Easy-to-read syntax
- Efficient execution
azula build FILENAME
or to run directly:
azula run FILENAME
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
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));
}
- LLVM 13