Show HN: Lamina – A compiler back end that is not LLVM or Cranelift
github.com·14h·
Discuss: Hacker News
Flag this post

Lamina

High-Performance Compiler Backend

Lamina is a compiler infrastructure for the Lamina Intermediate Representation (IR), a statically-typed, SSA-based language designed to bridge the gap between high-level languages and low-level backends like LLVM and Cranelift.

Overview

Lamina IR serves as a mid-level intermediate representation with the following design principles:

  • Human-readable and structurally clean
  • Block-based control flow with explicit typing
  • SSA (Static Single Assignment) form for all variables
  • Strong type system with both primitive and composite types
  • Explicit memory model distinguishing between stack and heap
  • Designed for easy lowering to machine code

Features

Core Features

  • Type System: Primitive and composite types
  • Memory Model: …

Similar Posts

Loading similar posts...