Packages

Every package is published to npm under the @tabnas/* scope and, where applicable, as a Go module at github.com/tabnas/<name>/go. Most ship four-quadrant Diátaxis docs in both languages.

Grammars are plugins over other grammars, so the list below is closer to a dependency order than a catalogue: JSON is a handful of rules, JSONC adds comments to them, JSON5 and jsonic relax the quoting, and so on. Extending one of these is usually cheaper than starting a new grammar.

39 packages. Versions here are recorded in the site source and can lag a release: releases reads the live version from npm.

Engine

The machine everything else plugs into.

PackageWhat it doesVersionLinks
@tabnas/parser The engine: a pluggable, rule-based parsing machine and a uniform syntax tree. 0.12.11

Grammar tooling

Write, inspect, draw, and test grammars.

PackageWhat it doesVersionLinks
@tabnas/abnf Compile RFC 5234 ABNF straight into a working grammar. 0.4.20
@tabnas/bnf The shared BNF-family compiler behind abnf, ebnf, and gbnf. 0.1.28
@tabnas/ebnf Compile W3C EBNF, the notation the XML and XPath specifications use, into a working grammar. 0.1.14
@tabnas/debug Inspect a live grammar: describe it, render it back as ABNF. 0.3.13
@tabnas/railroad Render railroad (syntax) diagrams from a grammar. 0.3.12
@tabnas/support Shared .tsv fixture loaders and the error-code census helpers: the machinery behind every repo's two-runtime specs. 0.3.9

Agent tooling

Serve the fleet to an agent: the MCP server and the tabnas CLI, one implementation behind both.

PackageWhat it doesVersionLinks
@tabnas/mcp The MCP server and the unified tabnas CLI: the same seven operations from one core, listed in the MCP registry as dev.tabnas/mcp. 0.1.20

Languages and formats

Ready-made languages and data formats. Each is a plugin, so you can extend one rather than start over.

PackageWhat it doesVersionLinks
@tabnas/json Standard JSON. 0.5.16
@tabnas/jsonc JSON with comments. 0.5.13
@tabnas/json5 The JSON5 dialect. 0.5.14
@tabnas/jsonl JSON Lines (NDJSON): one standard-JSON value per line. 0.1.15
@tabnas/jsonic A dynamic JSON parser that isn't strict and can be customised. 0.7.8
@tabnas/yaml YAML. 0.5.22
@tabnas/toml TOML. 0.5.15
@tabnas/ini INI files. 0.5.17
@tabnas/csv Delimited records (CSV, TSV, RFC 4180 quoting) into objects or arrays. 0.6.5
@tabnas/xml XML. 0.7.15
@tabnas/markdown Markdown: the full CommonMark spec, 652/652 on the reference suite. 0.7.11
@tabnas/css CSS, into an AST that preserves declaration order and duplicate properties. 0.5.13
@tabnas/c C source, into a concrete syntax tree: every token, comment, and macro kept as-is. 0.5.13
@tabnas/proto Protocol Buffers .proto IDL (proto2, proto3, editions 2023/2024). 0.6.6
@tabnas/zon Zig Object Notation, as used by build.zig.zon manifests. 0.5.15
@tabnas/feed RSS (0.90–2.0) and Atom (0.3, 1.0), normalised to one Atom-shaped result. 0.6.15
@tabnas/chess PGN and SAN: chess games and moves, tag pairs, variations, and annotations. 0.1.13
@tabnas/semver Semantic Versioning 2.0.0, compiled from the specification's own grammar, with precedence. 0.0.9
@tabnas/gbnf llama.cpp GBNF: check text against a constrained-decoding grammar, with no model. 0.1.17

Web components

Custom elements for a web page that bundle a grammar and the engine.

PackageWhat it doesVersionLinks
@tabnas/chess-view A <chess-view> web component: a 2D chessboard view of a PGN game, with move navigation and highlighted notation. 0.1.6

Syntax plugins

Syntax that layers onto a host grammar instead of standing alone.

PackageWhat it doesVersionLinks
@tabnas/expr Pratt-parser expressions: infix, prefix, suffix, ternary, with configurable precedence. 0.5.15
@tabnas/directive Directive syntax: token sequences like @name or add<1,2> that trigger custom parsing. 0.5.13
@tabnas/hoover String hoovering: block-delimited strings with unquoted internal spaces. 0.3.14
@tabnas/path Track the property path to each value as it is parsed. 0.3.13
@tabnas/multisource Merge multiple sources into one parse: a marked path is resolved and spliced in place. 0.6.3

Streaming

PackageWhat it doesVersionLinks
@tabnas/alchemy A small, typed, functional language for streaming transducers and renderers, and the types they share. 0.2.4
@tabnas/transduce Streaming transducers over any tabnas parser: source events, selectors, bounded captures and tables. 0.2.5
@tabnas/render Incremental CSV from streamed tables and JSON from streamed events: the renderers alchemy runs. 0.2.4

Command line

Command-line entry points.

PackageWhat it doesVersionLinks
@tabnas/jsonic-cli Command-line interface for @tabnas/jsonic. 0.5.14
@tabnas/dmog The dmog command, short for data mogrify: it writes a document of any tabnas format as any other, and checks, explains, and runs alchemy programs over one. 0.2.0
@tabnas/lsp One language server for every tabnas grammar, and a generator for single-language servers and their editor plugins. 0.1.7

Health and CI status for every repository is on the org status dashboard. Reproducible cross-port capability and performance evidence is in the measurement catalog.

Describes @tabnas/parser 0.12.11 · all pinned versions