API reference
python:irx:irx.builder.base.Builder.translate
method translate
translate(expr: astx.AST) -> str
Source: packages/irx/src/irx/builder/base.py:225
Transpile ASTx to LLVM-IR.
Parameters
- expr — Expression to process.; Type: astx.AST
Returns
Result of this operation: transpile ASTx to LLVM-IR.; Type: str