Package org.ek9lang.compiler.access


package org.ek9lang.compiler.access
Shared compiler access interface for MCP tools, Oracle extractors, AI sessions, and the IDE.

The CompilerAccess interface is the universal gateway through which all consumers reach the compiled program and workspace. Implementations live in their respective modules — McpCompilerService in compiler-services and IdeCompilerService in compiler-ide.

  • Class
    Description
    Shared compiler surface for MCP tools, Oracle extractors, AI sessions, and the IDE.
    A diagnostic entry from compilation, usable by any CompilerAccess consumer.
    THE error code of a diagnostic as a consumer shows it: the code of its semantic classification ("E08020"), or "" when it has none (a parser error).
    THE removal of the terminal colour codes (SGR sequences, ESC [ ... m) the pretty renderer emits from a diagnostic handed to a program - an MCP tool result, an LSP publish, the IDE (harness issue I-03, 2026-09-17: a 30B model was shown error inside JSON).