API reference
python:arxpy:arxpy.compiler.Compiler.compile_file
method compile_file
compile_file(path: str | Path, *, 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:685
Parse and compile one source file.
Parameters
-
path — Type: str | Path
-
kind — Type: ArtifactKind
-
output — Type: str | Path | None
-
link_mode — Type: Literal[auto, pie, no-pie]
Returns
Type: CompilationArtifact