panache-parse(1)

NAME
panache-parse - Parse and display the CST tree for debugging

SYNOPSIS
panache parse [--json] [--verify] [-h|--help] [FILE]

DESCRIPTION
Parse a document and display its Concrete Syntax Tree (CST) for debugging and understanding how Panache interprets the document structure. The CST shows all block and inline elements detected by the parser.

OPTIONS

--json <PATH>
    Write the parsed CST to the given JSON file instead of printing the debug tree. The output includes node kinds, text ranges, and token text.

--verify
    Run parser losslessness verification (input == parsed CST text). Exits with code 1 when verification fails. Deprecated: prefer `panache debug format --checks losslessness`.

-h, --help
    Print help (see a summary with '-h')

[FILE]
    Path to the input file to parse. If not provided, reads from stdin. The parser respects extension flags from the configuration file.