Package io.github.protasm.jvmud.compiler.semantic


package io.github.protasm.jvmud.compiler.semantic
Semantic analysis for parsed LPC objects.

This package turns parser output into a checked semantic model. It builds scopes, resolves fields, locals, methods, inherited members, parent calls, dynamic invocations, and LPC-facing efun calls, then reports source-level problems through the compiler pipeline.

Semantic analysis is also where JVMud enforces language contracts that require more than token or grammar knowledge, including explicit LPC method and parameter types, assignment validity, argument compatibility, return checking, and collection/indexing rules. Successful analysis produces a SemanticModel for IR lowering.