UNIT documentation

Introduction

UNIT (“Unified Native Instruction Translator”) is a compiler backend library written in C. It enables developers to emit machine code using a stack-based IR.

Getting Started

Install UNIT and build your first program.

Getting Started
Tutorial

Learn how to use UNIT through a hands-on tutorial.

Tutorial
Concepts

Understand stack machines, the compilation pipeline, and other important concepts to know when learning how to use UNIT.

Concepts
API Reference

Complete reference for UNIT’s C API.

API Reference