Module brainoxide::ast

source ·
Expand description

Types and functions for the AST.

Structs

  • General information about an operation. Consists of an opcode and the offset to the current tape counter.
  • A block of simple operations

Enums

  • A complex opcode, that may move the tape pointer.
  • A simple operation (one that does not move the tape pointer)

Traits

  • Trait for functions all opcodes support.

Type Aliases

  • An Operation<GeneralOp>
  • An Operation<SimpleOp>