Skip to main content

Module types

Module types 

Source
Expand description

Auto-generated module

🤖 Generated with SplitRS

Structs§

AnfConverter
A-normal form converter for erased expressions.
EraseConfig
Configuration for the type eraser.
ErasedAst
High-level AST node wrapping an erased expression with source metadata.
ErasedBetaReducer
Performs beta reduction on erased expressions.
ErasedBitOps
Bit manipulation operations for erased literal values.
ErasedCallSite
Describes a call site in the erased IR.
ErasedClosureEnv
Represents a captured environment for a closure in erased code.
ErasedCodegen
A simple code generator for erased expressions (stub).
ErasedConstFolder
Constant folding for erased arithmetic expressions.
ErasedConstantPool
Pools integer literals to avoid duplication in the erased IR.
ErasedDCE
Dead-code elimination for erased expressions.
ErasedEnv
Environment for erased computation (parallel binding arrays).
ErasedFlatApp
A flat representation of a spine: f a0 a1 … aN.
ErasedInliner
Inline simple constants in an erased expression.
ErasedInterpreter
A small-step interpreter for erased expressions.
ErasedLetChain
A chain of let-bindings produced by ANF conversion.
ErasedLiveness
Tracks which de Bruijn indices are live at a given program point.
ErasedMatchArm
A single arm of an erased match expression.
ErasedModule
A collection of erased declarations forming a module.
ErasedNormalizer
A normalizer for erased expressions (beta + delta reduction).
ErasedOptimizer
A simple optimizer that chains beta reduction, inlining, and DCE.
ErasedPrinter
Prints an erased expression to a structured string format.
ErasedReachability
A reachability tracker for erased expressions.
ErasedRenamer
Rename all free variables in an expression using a substitution map.
ErasedScope
A scope for erased code: a stack of local bindings.
ErasedSizeBound
Checks size bounds on erased expressions.
ErasedStack
A stack-based evaluator for erased expressions.
ErasedSubstMap
A substitution map from de Bruijn index to erased expression.
ErasedTupleOps
Tuple constructor and projector for erased expressions.
ErasedTypeMap
A map from expression ids to their erased forms.
ErasureContext
An erasure context tracking which variables are types vs terms.
ErasurePass
A pass pipeline combining multiple transformation passes.
ErasureStats
Statistics collected during type erasure.
PipelineRunner
Runs a sequence of ErasedPass implementations in order.
TypeEraser
Performs type erasure on kernel expressions.

Enums§

ErasedDecl
An erased module declaration.
ErasedExpr
A kernel expression with type information erased.
ErasedExprExt
An erased expression node with only runtime-relevant information.
ErasedHeapObj
A heap-allocated object in the erased runtime.
ErasedPattern
A pattern in an erased match expression.
ErasedValue
An erased value (runtime representation after full reduction).