API reference
python:irx:irx.builder.base.Builder
class Builder
Builder()
Source: packages/irx/src/irx/builder/base.py:192
ASTx Builder.
Attributes
-
translator — Type: BuilderVisitor
-
tmp_path — Type: str
-
output_file — Type: str
-
sh_args — Type: dict[str, Any]
-
runtime_feature_names — Type: set[str]
Methods
-
__init__ — Initialize Builder object.
-
activate_runtime_feature — Activate a native runtime feature for this compilation unit.
-
build — Transpile ASTx to LLVM-IR and build an executable file.
-
module — Create a new ASTx Module.
-
run — Run the generated executable.
-
translate — Transpile ASTx to LLVM-IR.