Skip to content

About

Building a modern functional compiler from first principles.

Topics

Resources

Contributing

Stars

3.5k stars

Watchers

180 watching

Forks

Repository files navigation


Building a modern functional compiler from first principles.

Stephen Diehl

Build Status MIT License

Read Online:

Chapters

Building

To build the chapters and the book, install Rust, just, Boehm GC and LLVM 22. The pinned book tools are installed locally by just bootstrap.

$ just bootstrap
$ just build
$ just book

To generate the pdf:

$ just pdf

Contributing

Any and all contributions are always welcome. As always, I rely on the perpetual kindness and goodwill of other compiler nerds (like you!) to help correct grammar, clarify, and fix errors.

License

Artwork CC BY SA

This written work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. You may reproduce and edit this work with attribution.

The included source is released under the terms of the MIT License.

About

Building a modern functional compiler from first principles.

Topics

Resources

Contributing

Stars

3.5k stars

Watchers

180 watching

Forks

Releases

Used by

Contributors

Languages