Skip to content
Verified: Accurate against commit b64377d40 View Commit

Parser feature matrix

  • Parser module scope notes: crates/vox-compiler/src/parser/mod.rs
  • Parser descent implementation: crates/vox-compiler/src/parser/descent/
  • fn, pub fn
  • type, pub type
  • import
  • component (UI component declaration; emits React/TSX)
  • server, query, mutation (bare keywords)
  • @loading
  • table, index (bare keywords)
  • tool (bare keyword); legacy @mcp.tool / @tool still parse but emit vox/decorator/mcp-tool-deprecated
  • @test
  • @v0
  • actor, workflow, activity
  • HTTP route declarations (http get/post/put/delete)
  • routes { } (router shim generation)
  • JSX tags and expressions
  • Expression operators including pipeline (|>)
  • @island — retired 2026-05-03; use component instead
  • @endpoint(kind: server|query|mutation) — retired; use bare server / query / mutation
  • @page
  • @partial
  • @theme
  • @layout
  • @i18n
  • @schema
  • @action
  • Out-of-scope declarations increase lowering/codegen coupling and can create parser/docs drift.
  • Roadmap target is to pull these into canonical parser/typed-HIR coverage to reduce cross-stage boilerplate.
  • Keep parser tests aligned with this matrix.
  • Fail CI when docs and parser scope diverge for declared feature support.