blob: ed33699a4e875a5b843c45eb4dd155c38983f892 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# Chapter 15: Arrays
At long last we introduce arrays! These require more complex addressing math,
which in turn means we need to change how Loads and Stores do addressing -
with true field *offsets* instead of field *names*. This means we also
will do a struct field *layout* in this chapter.
## Parser
The Parser changes to support arrays are fairly minimal.
## Type Array is TypeStruct
## New Address Math
## Struct Layout
## New Loads and Stores
## Some Simple Address Math Peeps
|