Skip to content

Latest commit

 

History

History
11 lines (10 loc) · 382 Bytes

notes.md

File metadata and controls

11 lines (10 loc) · 382 Bytes

Terminology inside the Compiler

  • Functions:
    • arguments: passed to a function
    • parameters: accepted from a function
    • at a call, the passed arguments become parameters for the function
  • Enums
    • enum: type, has variants
    • variant: symbol and payloads (either on type or value level)
    • symbol: string indicating a variant
    • tag: byte in the low-level tagged union