🧠

book Crafting Interpreters programming language compiler

Introduction

  • A book on "how to design a language worth implementing"
  • Practical, implementation driven learning
  • Plenty of domain-specific languages out there
    • Tailor-built for a specific task
  • compiler-compilers
    • Produce the source file for a compiler based on a grammar file
  • Building two interpreters
    • Simpler one in Java
      • Correct implementation
    • Hardcore one in C
      • Correct and fast implementation

Guidelines for naming things

A good name:

  1. Isn't already taken
  2. Is easy to pronounce
  3. Is unique
  4. Doesn't have negative connotations in any culture