Package io.github.protasm.jvmud.compiler.ir
package io.github.protasm.jvmud.compiler.ir
Typed intermediate representation produced after semantic analysis.
The IR models runtime-level types, control flow, calls, field access, local access, collection operations, and coercions explicitly. It is the stable bridge between the checked semantic model and backend bytecode generation.
IR nodes are immutable records that carry source line numbers, runtime types, and JVM-oriented call details. This lets the bytecode backend reason about truthiness, dispatch, descriptors, and helper calls without depending on parser internals.
-
ClassDescriptionNumeric field increment/decrement expression with prefix or postfix result semantics.Runtime marker expression for an LPC from-end index bound such as
<1.IR value for an LPC named function reference such as#'helper.IR value for an LPC inline callable literal, such as(: $1 > 0 :).Numeric local increment/decrement expression with prefix or postfix result semantics.Lowers typed AST nodes into the JVM-oriented IR model.Human-oriented formatter for typed IR inspection.IR value for an LPC typed function literal that can be passed as a callable value.