Writing an Interpreter in Ruby
Contents of this page is mostly pending.
What sets this book apart:
-
Symbol handling
-
Easier operator sequence parsing with the shunting yard algorithm
-
Module system
-
String interpolation
Preliminary outline
- Preface
- A bird’s-eye view
- DELI
- Lexing
- Parsing simple expressions
- Evaluating simple expressions
- Handling errors
- State
- Conditionals
- Tracking symbols
- Loops
- Operators
- Functions
- Functional programming
- Structures
- Collection types
- Strings
- Object orientation
- The standard library
- Module systems
- Exceptions