API reference
python:irx:irx.builder.base.Builder
class Builder
Builder()
Source: packages/irx/src/irx/builder/base.py:183
ASTx Builder.
Attributes
-
translator — Translator.; Type: BuilderVisitor
-
tmp_path — Temporary directory for this test.; Type: str
-
output_file — Destination file for generated output.; Type: str
-
sh_args — Sh args.; Type: dict[str, Any]
-
runtime_feature_names — 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.