render_ir_fragment
Convert a top-level definition from a .hird file into JSON to inspect its typed intermediate representation. Provide the source file path and definition name to get structured IR output.
Instructions
Render the typed IR of one top-level definition as JSON.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Path to a .hird source file. | |
| name | Yes | The definition's name. |