Appendices
D
The Instructor’s Manual
Principles of Programming Languages Design and Implementation
Preface
A Tale of Two Languages
Introduction
The Frontend
1
Arithmetic Expressions
2
Strings and Builtins
3
Variables and Binding
4
Control Flow
5
Functions and Recursion
6
Objects and Classes
7
Type Checking and Inference
The Backend
8
The BANNER Intermediate Representation (IR)
9
The Metal Sandbox
10
Stack Machine
11
Object Representation
12
Virtual Method Calls
13
Garbage Collector
14
Final Polish
Appendices
A
The HULK Programming Language
B
The BANNER Intermediate Representation
C
Tooling for HULK
D
The Instructor’s Manual
Appendices
D
The Instructor’s Manual
Appendix D — The Instructor’s Manual
C
Tooling for HULK