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 abandoned tag is text
and the dividers it would have swallowed keep their meaning, 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 abandoned tag is text and the dividers it would have swallowed keep their meaning, 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.