Parse Carve
carve_parseParse and resolve Carve source into a position-aware interchange AST, optionally with source positions, to support linting, formatting, rendering, or migration.
Instructions
Parse and resolve Carve into its position-aware interchange AST.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | Document source (maximum 1000000 UTF-8 bytes) | |
| positions | No | Include source positions. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | ||
| children | Yes | ||
| srcByteLength | Yes |