T81 Foundation

Guide: Setun Bridge (v2)

The Setun bridge translates a compact Setun-style assembly dialect into TISC Program bytecode-ready structures.

API surface:

Supported Mnemonics

target accepts numeric PC values or symbolic labels in program translation mode.

Labels

Labels use name: syntax.

Example:

start:
LOADI R1, 3
JNZ R1, start
HALT

Rules:

Diagnostics

Use translate_program_diagnostic for line/column mapped errors:

This is the recommended API for CLI tooling and editor integrations.

Notes