API reference
python:arx:arx.codegen.ArxBuilder.build
method build
build(node: astx.AST, output_file: str, link: bool = True, link_mode: Literal['auto', 'pie', 'no-pie'] = 'auto') -> None
Source: packages/arx/src/arx/codegen.py:130
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