원클릭으로
t81-compiler
Compile T81Lang source code to TISC bytecode with deterministic optimization
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Compile T81Lang source code to TISC bytecode with deterministic optimization
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Execute bounded AI task chains (assess-fixed, route-fixed, classify-fixed) with deterministic guarantees
Create T81 decision bundles with complete provenance and cryptographic verification
Validate and verify T81 decision bundles for deterministic execution
Export files from T81 CanonFS with hash verification and integrity validation
Import files into T81 CanonFS for immutable, hash-verified storage
Demonstrate T81's policy-gated computation with educational examples
| name | t81_compiler |
| description | Compile T81Lang source code to TISC bytecode with deterministic optimization |
| metadata | {"openclaw":{"os":["darwin","linux"],"requires":{"bins":["t81"]}}} |
This skill compiles T81Lang source code to TISC bytecode with deterministic optimization, policy-aware compilation, and complete build provenance.
When the user needs to compile T81Lang programs to executable TISC bytecode, use this skill for deterministic compilation with optimization.
Compile a T81 program:
build <source_file> [--output <output_file>] [--optimize level] [--json]
Compile with specific optimization:
compile <source_file> [--optimization space|time|determinism] [--target arch]
Disassemble bytecode:
disasm <bytecode_file> [--format binary|ternary|mixed] [--addresses]
Optimize existing bytecode:
optimize <bytecode_file> [--level 1|2|3] [--preserve-semantics]
Batch compilation:
build-batch <source_dir> [--recursive] [--output-dir <dir>]
Analyze compilation:
analyze <source_file> [--metrics] [--complexity] [--policy-check]
# Basic compilation
build hello_world.t81
# Compile with optimization and custom output
build inference.t81 --output inference_opt.tisc --optimize 2
# Compile for deterministic execution
compile secure_code.t81 --optimization determinism --target t81v1
# Disassemble with addresses
disasm program.tisc --format mixed --addresses
# Optimize existing bytecode
optimize basic.tisc --level 3 --preserve-semantics
# Batch compile directory
build-batch ./src/ --recursive --output-dir ./build/
# Analyze compilation metrics
analyze complex_program.t81 --metrics --complexity
1. Parsing & Semantic Analysis:
2. Intermediate Representation:
3. Code Generation:
4. Post-Processing:
Level 1 (Basic):
Level 2 (Standard):
Level 3 (Aggressive):
Space Optimization:
Time Optimization:
Determinism Optimization:
Successful Compilation:
{
"status": "success",
"source": "inference.t81",
"output": "inference_opt.tisc",
"compilation_id": "CanonHash81...",
"timestamp": "2026-04-04T15:30:00Z",
"compiler": {
"version": "1.9.0",
"optimization_level": 2,
"target_arch": "t81v1"
},
"metrics": {
"source_lines": 1247,
"bytecode_size": 8192,
"compilation_time_ms": 45,
"optimization_reduction": 23
},
"provenance": {
"source_hash": "CanonHash81...",
"bytecode_hash": "CanonHash81...",
"compilation_env": "t81_v1.9.0"
}
}
Compilation Error:
{
"status": "error",
"source": "invalid.t81",
"error": {
"type": "syntax_error",
"line": 42,
"column": 15,
"message": "Unexpected token '}' in function definition",
"context": "function calculate_result() {"
},
"suggestions": [
"Check for missing semicolon before '}'",
"Verify function parameter syntax",
"Ensure balanced braces"
]
}
Input Files:
.t81 - T81Lang source code.t81ir - T81 intermediate representationOutput Files:
.tisc - TISC bytecode.t81opt - Optimized bytecode.json - Compilation metadataT81Lang Constructs:
Policy Integration:
This skill wraps the T81 compiler toolchain:
t81 code build <source> --output <output> --optimize <level> --json