1Install the compiler
unix / macos
windows
$curl -fsSL razen.dev/install | shcopy
$razenc --versioncopy
razenc 0.0.3 (LLVM 20, x86-64)
PS>irm razen.dev/install.ps1 | iexcopy
PS>razenc --versioncopy
razenc 0.0.3 (LLVM 20, x86-64)
2Verify it works
$razenc --version
razenc 0.0.3 (LLVM 20, x86-64)
$razenc main.rzn
output/main.o output/main.s
3Compile a program
$cat > main.rzn << EOF
func main() -> void {
fmt.println("hello, razen!")
}
$razenc main.rzn
$ls output/
main.o main.s
4System requirements
required
Linux (kernel 5.4+), macOS 12+, or Windows 10 64-bit. To build the compiler: clang++-20, LLVM 20, GNU Make. The compiler binary is a single static executable.