Skip to content

Parser and AST (@signalql/parser)

The @signalql/parser package exposes:

  • parse(query: string)Query
  • tokenize(query: string) for tokenizer debugging
  • ParseError for structured failures

Implementation lives in @signalql/compiler; the standalone parser package gives downstream tools a stable import surface without pulling codegen unless needed.

Stability expectations

Tests

See packages/parser/test/parser.test.ts and packages/compiler/test/compile.test.ts.