Module ggbasm::ast

source ·
Expand description

The AST produced by the parser.

You can manually create the types below and give them to the RomBuilder via RomBuilder::add_instructions(instructions)

Structs

Enums

Assembly uses constant expressions to avoid copying magic numbers around. Expr represents these constant expressions.
The main type in the AST, the parser creates an Instruction for each line in a *.asm