llox
←
→
llox
Table of Contents
I
Welcome
▸
1
Introduction
2
Environment Setup
II
A Tree-Walk Interpreter
▸
3
Scanning
4
Representing Code
5
Statement
6
Evaluating Expressions
7
State and Variable
8
Block and Scope
9
Control Flow
10
Functions
11
Resolving and Binding
12
Classes
13
Inheritance
III
A Bytecode Virtual Machine
▸
14
Chunks of Bytecode
15
A Virtual Machine
16
Scanning on Demand
17
Compiling Expressions
18
Types of Values
19
Strings
20
Hash Tables
21
Global Variables
22
Local Variables
23
Jumping Back and Forth
24
Calls and Functions
25
Closures
26
Garbage Collection
27
Classes and Instances
28
Methods and Initializers
29
Superclasses
30
Optimization
Closures
🚧 Under construction.
← Back to Table of Contents