A minimal, powerful and readable programming language that blends Python's simplicity, Rust's performance, and TypeScript's type-safety.
AzLang provides an approachable, understandable and performant coding experience for everyone — from beginners to professional developers.
AzLang is a compiled language. The source is parsed into an AST, semantically validated, and then lowered through a dedicated backend. There is no runtime interpreter for .az scripts.
- Natural syntax — Code reads as clearly as a human language
- Type-Safety — Type checking is performed automatically, and optional explicit annotations are supported where needed
- Static analysis — A built-in type analysis pipeline validates programs before code generation
- Compiler-based — Source is compiled to a native executable; no runtime interpreter
AzLang's type system relies on automatic type inference. Annotations are optional, though they are required for certain cases such as enums and objects.
enum, object and a few specific constructs require an explicit type.
This project is open source. Any help or idea is valuable:
- New syntax proposals
- Bug reports
- Documentation support
- Code contributions (pull requests are welcome!)
See CONTRIBUTING.md for architecture and contribution guidelines.
- Syntax design
- AST and parser
- Type analysis
- Backend / code generation
- Optimization
- Standard library
- Web IDE and playground
- Official documentation and tutorials
const int a = 5
a = 2
const str b = "Hi"
func add(a: int, b: int): int
return a + b
print(add(1, 2))
cargo build --release- QBE — afterburner backend / intermediate representation compiler
- Linux —
binutils(assembler) andld.lld(linker) - Windows — an assembler (e.g. MASM or NASM) and
lld.link(linker)