← All projects
Project record1 mention
Originally shared on Hacker News

16-bit x86 Toy Clojure Compiler

A toy Clojure compiler that emits 16-bit x86 code for bare metal with no dependencies. Global environment handling was fixed so it can now compile a program that prints the result of multiplying two numbers, rudimentary string support is being added, and the long-term goal is for it to compile itself.

Last shared
01 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. 16-bit x86 Toy Clojure Compiler

    A toy Clojure compiler that emits 16-bit x86 code for bare metal with no dependencies. Global environment handling was fixed so it can now compile a program that prints the result of multiplying two numbers, rudimentary string support is being added, and the long-term goal is for it to compile itself.

    Posted by @nathell · Original source ↗

    Source text · @nathell · · Source ↗

    I’ve dusted off my toy Clojure compiler that produces 16-bit x86 code.