API reference
python:aix:aix.codegen.AixBuilder.build
method build
build(node: astx.AST, output_file: str, link: bool = True, link_mode: Literal['auto', 'pie', 'no-pie'] = 'auto') -> None
Source: packages/aix/src/aix/codegen.py:115
Transpile the ASTx to LLVM-IR and build it to an executable file.
Parameters
-
node — Type: astx.AST
-
output_file — Type: str
-
link — Type: bool
-
link_mode — Type: Literal[auto, pie, no-pie]