Usable Public Preview

Azin 0.2.0

Azin 0.2.0 is the first usable preview release of the language, introducing loops, variable reassignment, mutable and immutable variables, breaking from loops, and booleans.

Released July 14, 2026

Installation

Download the latest archive, extract it and add the executable to your PATH.

azc --version

Azin Compiler 0.2.0

Highlights

🔁

loops

Infinite loops that you can break from

🧩

Mutability and Immutability

Variables are immutable by default, made mutable with mut keyword

⚙️

Better Diagnostics

Readable errors that tell you exactly what you did wrong

Changelog

Added

  • loop and stop statements
  • Variable assignment
  • Recursive function calls
  • Semantic analysis
  • Type checking
  • Function return type inference
  • Improved parser
  • Improved C code generation
  • C header imports (importc)
  • Better compiler diagnostics
  • General compiler stability improvements

Improved

  • More robust parsing and error recovery
  • Improved semantic analysis
  • Overall compiler performance and stability

Known Issues

  • The language is still pre-1.0 and syntax may change.
  • The standard library is non-existant.
  • Diagnostics are continuously being improved.

Fibonacci in Azin

importc "stdio"

fn fibonacci(n: int) do
    if n < 1 then
        return n
    end

    return fibonacci(n - 1) + fibonacci(n - 2)
end

fn main: int do
    var mut i = 0

    loop
        printf("%d\n", fibonacci(i))

        if i == 10 then
            stop
        end

        i = i + 1
    end

    return 0
end
© 2026 Azin Language Project