API reference
python:arxpy:arxpy.Compiler.compile
method compile
compile(program: ParsedProgram | CheckedProgram, *, kind: ArtifactKind = ArtifactKind.AUTO, output: str | Path | None = None, link_mode: Literal['auto', 'pie', 'no-pie'] = 'auto') -> CompilationArtifact
Source: packages/arxpy/src/arxpy/compiler.py:516
Declared as: python:arxpy:arxpy.compiler.Compiler.compile
Lower a program and optionally materialize a host artifact.
Parameters
-
program — Program.; Type: ParsedProgram | CheckedProgram
-
kind — Kind of value or operation.; Type: ArtifactKind
-
output — Output destination or generated result.; Type: str | Path | None
-
link_mode — Link mode.; Type: Literal['auto', 'pie', 'no-pie']
Returns
Lowered a program and optionally materialize a host artifact.; Type: CompilationArtifact