Tutorial: first .vox app (checkpoints)
First .vox app — checkpoints
Section titled “First .vox app — checkpoints”Use this alongside First full-stack app and golden examples.
Checkpoint A — parse
Section titled “Checkpoint A — parse”- Create
app.voxwith a top-levelfnor useexamples/golden/hello.vox. -
vox check app.voxexits 0 (or fix parse diagnostics).
Checkpoint B — typecheck + HIR
Section titled “Checkpoint B — typecheck + HIR”-
vox check app.voxshows no type errors. - Optional JSON:
vox check app.vox --jsonand confirm diagnostics carrycategorywhen emitted from the shared pipeline.
Checkpoint C — build / run (when applicable)
Section titled “Checkpoint C — build / run (when applicable)”-
vox build app.voxor your project’s documented build entry. -
vox run …for script mode only when built withscript-execution(see CLI reference).
Checkpoint D — mens (optional)
Section titled “Checkpoint D — mens (optional)”- With
populifeature:vox populi servelocal smoke; see Populi SSOT.
When stuck, capture full diagnostic output and cross-check parser inventory and the CLI reference.