Skip to content
Writing a Scheme to x86 compiler by following Abdulaziz Ghuloum's "An Incremental Approach to Compiler Construction"
Scheme C Makefile Dockerfile Other
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
debug Get first test working Jul 17, 2019
src Add "integration" test for precompilation Sep 19, 2019
.gitignore Get first test working Jul 17, 2019
Dockerfile Fix bug in closure implementation, add tests, etc. Sep 8, 2019
README.md

README.md

scheme_x86

Writing a Scheme to x86 compiler by following Abdulaziz Ghuloum's "An Incremental Approach to Compiler Construction".

This also takes a lot of inspiration from namin/inc and the Let's Build a Compiler series of blog posts.

Requirements

  • Linux (I use a Docker container on macOS for that)
  • Chez Scheme

Running the tests

docker build -t incremental . && \
  docker run -it -v $(pwd):/code incremental -c 'cd /code/src/ && make test'

Running a single test is possible by specifying the filename:

TEST=test-unary-primitives make test
You can’t perform that action at this time.