Parser-derived highlighting of bitmark source in the LSP semantic-tokens
shape (PLAN-193) — the typed form of
convert(input, { inputFormat: "bitmark", outputFormat: "semantic-tokens" }).
The parser runs (never the validator) and every byte of the source is
covered exactly once: unpaired marks are text, an unclosed tag is a tag
flagged unclosed that ends at the next divider or bit, a raw body
([.code], ==== text ====) is one plain-text run per line. Token types
name sigil classes and syntax positions, never a bit or tag name; the tag
class, the commented-bit flag and unclosed are modifiers. Both layouts
carry the legend, so the response is self-describing.
Parser-derived highlighting of bitmark source in the LSP semantic-tokens shape (PLAN-193) — the typed form of
convert(input, { inputFormat: "bitmark", outputFormat: "semantic-tokens" }).The parser runs (never the validator) and every byte of the source is covered exactly once: unpaired marks are text, an unclosed tag is a tag flagged
unclosedthat ends at the next divider or bit, a raw body ([.code],==== text ====) is one plain-text run per line. Token types name sigil classes and syntax positions, never a bit or tag name; the tag class, the commented-bit flag andunclosedare modifiers. Both layouts carry the legend, so the response is self-describing.