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:109
Transpile the ASTx to LLVM-IR and build it to an executable file.
Parameters
-
node — Syntax node to process.; Type: astx.AST
-
output_file — Destination file for generated output.; Type: str
-
link — Whether to use link.; Type: bool
-
link_mode — Link mode.; Type: Literal['auto', 'pie', 'no-pie']
Returns
Type: None