@axiomvn/language
v0.3.0
Published
The .story language: a parser and compiler producing authored packs for Axiom VN.
Readme
@axiomvn/language
The .story language of Axiom VN: its parser, its compiler, and its definition.
A .story file is the authoring surface for narrative work — prose unindented and unquoted, everything else a keyword line or a marked line. It parses into a document and compiles to exactly the authored data @axiomvn/content's TypeScript surface produces, so the two surfaces are one semantic model rather than two competing runtimes. Diagnostics carry a line and a column and the authored provenance of what they refuse.
The language, defined
GRAMMAR.md— the complete surface: every keyword line, every marked line, and what each compiles to.NON-GOALS.md— what the language deliberately does not say, and the TypeScript escape for each omission.
Both ship inside this package, so the definition travels with the implementation that has to honour it. The two links above resolve inside the tarball rather than on this page: after an install the documents are at node_modules/@axiomvn/language/GRAMMAR.md and node_modules/@axiomvn/language/NON-GOALS.md, which is where a reader — or an agent working in a project — finds them without leaving it.
Depends on @axiomvn/content and @axiomvn/core. Creators do not usually install it directly: @axiomvn/toolchain is its build-time consumer and is what a project depends on. Runtime packages depend on neither, so a parser stays out of the build a reader downloads.
Start a project with @axiomvn/create.
