summaryrefslogtreecommitdiff
path: root/TODO
blob: 1fa05f58410a74d99ac1a45c7cd11eef8ab5ffd7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Intermediate code generation

- To access named parameters inside a procedure, IR should be able to reference
  them. During the generation the needed information (e.g. offsets or registers)
  can be extracted from the symbol table and saved in the operands.

# ELF generation

- Don't ignore relocations where the symbol is not defined in the symbol table.
  Report an error about an undefined symbol.

# Register allocation

- Each temporary variable gets a tn register where n is the variable index. If
  there more variables the allocation will fail with out of bounds runtime
  error. Implement spill over.

# Language

- Array support.