Skip to content
The Compiler's Apprentice cover

Kelford Press · 2026

The Compiler's Apprentice

On the Craft of Building Languages

By Anna Linde

No part of this publication may be reproduced, stored in a retrieval system, or transmitted in any form or by any means — electronic, mechanical, photocopying, recording, or otherwise — without the prior written permission of the publisher, except for brief quotations in reviews

Contents

  1. 01Why Build a Language
  2. 02The Tokeniser Is the First Honest Step
  3. 03Parsers as Conversations
  4. 04Types Are Promises
  5. 05The IR Is Where the Compiler Thinks
  6. 06Optimisation Without Tears
  7. 07Errors Are User Interface
  8. 08The Tooling Around the Language
  9. 09Knowing When You Are Finished
  10. 10Bibliography
  11. 11Notes
  12. 12About the Author

Editions

Digital (PDF)
Free
Download PDF →
  • Print
    ISBN 978-1-7398-2231-2
    Sold out
  • Audio
    ISBN 978-1-7398-2232-9
    Sold out

Print runs are small. We'll contact you when the next batch ships.