Skip to content
An incremental approach to compiler construction
Branch: master
Clone or download
Pull request Compare This branch is 166 commits ahead, 171 commits behind namin:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

An incremental scheme compiler

A tiny scheme to x86 asm compiler developed incrementally as described in the paper An Incremental Approach to Compiler Construction by Abdulaziz Ghuloum.

This project started in Chez Scheme but, I ported it to Racket and then again to rust. The old project still lives at rkt.

Getting started

Cargo docs can open up the documentation in your browser. The top level explains how to navigate the code.

$ cargo doc --document-private-items  --open

Required reading


$ cargo test

Inc takes testing very seriously, primarily because it is very painful to test a compiler manually and the untyped nature of scheme makes it very easy to mess things up.

You can’t perform that action at this time.