ik_compile
Compile ik source from inline code or a file path using the real ik8b compiler. Returns success, diagnostics, and Intel HEX or SSA IR output to verify ik code.
Instructions
Compile ik source (inline source or a path) with the real ik8b compiler. Returns success, diagnostics, and the Intel HEX (emit=hex) or SSA IR (emit=ir) artifact. import std/... resolves automatically. Use this to VERIFY any ik code you generate.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "ik_compile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| emit | No | hex | |
| path | No | Path to an .ik file (relative to the toolchain root or absolute). | |
| report | No | ||
| source | No | Inline ik source code. | |
| target | No | Device for `target <x>`; prepended only if the source omits one. |