API reference
python:arxpy:arxpy.compiler
module compiler
arxpy.compiler
Source: packages/arxpy/src/arxpy/compiler.py:1
Typed programmatic facade for the Arx compiler pipeline.
Provide parse, check, compile, artifact, and execution APIs without exposing CLI state. Heavy frontend, semantic, and LLVM modules are imported only when an operation needs them, keeping import arxpy lightweight. Compiler operations are serialized because the current Arx lexer reads a process-wide source buffer; each lowering operation uses a fresh backend builder.
Classes
-
ArtifactKind — Kind of output requested from the compiler.
-
CheckedProgram — Program that completed semantic analysis successfully.
-
CompilationArtifact — Materialized compiler output.
-
Compiler — Reusable facade for parse, check, compile, and run operations.
-
ExecutionResult — Captured result of running an executable artifact.
-
ParsedProgram — Parsed Arx source plus stable source attribution.