Package org.ek9lang.compiler.ir


package org.ek9lang.compiler.ir
Intermediate Representation (IR) - The common foundation for code generation.

This package defines the EK9 IR structure that serves as the bridge between the frontend phases (parsing, type checking, resolution) and the backend code generation phases.

The IR is designed to support multiple target architectures:

  • JVM - Java bytecode generation for enterprise compatibility
  • LLVM - Native compilation for performance-critical systems

Key Components:

Subpackages:

IR generation occurs in Phase 10 (org.ek9lang.compiler.phase10), followed by analysis in Phase 11 and optimization in Phase 12.