Expand description
Core IR types for surface syntax translation.
This IR is deliberately minimal and opcode-agnostic. It represents common programming constructs without domain-specific knowledge.
Domain operations like lotus.spawn_entity(x) are just function calls -
the runtime (spore) provides the actual implementations.
Structs§
Enums§
- Binary
Op - Binary operators.
- Expr
- An expression that produces a value.
- Literal
- Literal values.
- Stmt
- A statement (doesn’t produce a value directly).
- UnaryOp
- Unary operators.
Traits§
- Structure
Eq - Trait for structural equality comparison.