Essentials of Compilation: An Incremental Approach in Python

· MIT Press
Ebook
232
Pages
Eligible

About this ebook

A hands-on approach to understanding and building compilers using the programming language Python.

Compilers are notoriously difficult programs to teach and understand. Most books about compilers dedicate one chapter to each progressive stage, a structure that hides how language features motivate design choices. By contrast, this innovative textbook provides an incremental approach that allows students to write every single line of code themselves. Jeremy Siek guides the reader in constructing their own compiler in the powerful object-oriented programming language Python, adding complex language features as the book progresses. Essentials of Compilation explains the essential concepts, algorithms, and data structures that underlie modern compilers and lays the groundwork for future study of advanced topics. Already in wide use by students and professionals alike, this rigorous but accessible book invites readers to learn by doing.

  • Deconstructs the challenge of compiler construction into bite-sized pieces
  • Enhances learning by connecting language features to compiler design choices
  • Develops understanding of how programs are mapped onto computer hardware
  • Classroom-tested, hands-on approach suitable for students and professionals
  • Extensive ancillary resources include source code and solutions

About the author

Jeremy G. Siek is Professor of Computer Science at Indiana University and author of Essentials of Compilation: An Incremental Approach in Racket and The Boost Graph Library. He invented gradual typing, a type system that integrates both dynamic and static typing in the same programming language.

Rate this ebook

Tell us what you think.

Reading information

Smartphones and tablets
Install the Google Play Books app for Android and iPad/iPhone. It syncs automatically with your account and allows you to read online or offline wherever you are.
Laptops and computers
You can listen to audiobooks purchased on Google Play using your computer's web browser.
eReaders and other devices
To read on e-ink devices like Kobo eReaders, you'll need to download a file and transfer it to your device. Follow the detailed Help Center instructions to transfer the files to supported eReaders.