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
- Simpler one in Java
Guidelines for naming things
A good name:
- Isn't already taken
- Is easy to pronounce
- Is unique
- Doesn't have negative connotations in any culture