"Parser feature matrix"

Parser feature matrix

Source of truth

  • Parser module scope notes: crates/vox-compiler/src/parser/mod.rs
  • Parser descent implementation: crates/vox-compiler/src/parser/descent/

Covered in canonical parser

  • fn, pub fn
  • type, pub type
  • import
  • @island
  • @loading
  • @island
  • @table, @index
  • @mcp.tool
  • @test
  • @server
  • @v0
  • actor, workflow, activity
  • HTTP route declarations (http get/post/put/delete)
  • JSX tags and expressions
  • Expression operators including pipeline (|>)

Explicitly out of parser scope (current)

  • @page
  • @partial
  • @theme
  • @layout
  • @i18n
  • @schema
  • @action

Implications

  • 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.

Near-term verification

  • Keep parser tests aligned with this matrix.
  • Fail CI when docs and parser scope diverge for declared feature support.