Expand description
Parallax Universal Intermediate Representation (PUIR).
PUIR represents language-neutral program semantics (intent), not syntax. Distinct from PIR (values), PCIR (suspended control), and UES (execution state).
Structs§
- Effects
- Effect flags for functions / regions.
- Function
- Function / method.
- Module
- A module (file-level unit).
- NodeId
- Stable node id within a PUIR graph (for source maps / repair).
- Parameter
- Function parameter.
- Puir
Program - A complete PUIR program (one or more modules).
- Source
Span - Source location preserved for diagnostics and
.plxmaporigin lookup. - TypeDef
- Nominal type declaration.
- Type
Evidence - One piece of evidence used during type inference.
- Type
Inference Bundle - Collection of inference reports.
- Type
Inference Report - Inference outcome for a symbol.
Enums§
- Confidence
- Confidence attached to a translated region.
- Expr
- Expression node.
- Puir
Item - Top-level item.
- Puir
Type - Language-neutral type.
- Stmt
- Statement node.
- Visibility
- Visibility.
Constants§
- PUIR_
SCHEMA_ VERSION - PUIR schema version. Bump on incompatible IR changes.
Functions§
- check_
puir_ schema - Reject unknown / future major schemas.
- schema_
error - Helper to build a schema error.