dreamstack/compiler
enzotar 627ee44275 feat: explicit signal output API for stream declarations
Add 'output: field1, field2' syntax to stream declarations to control
which signals are exposed over the relay. Only listed signals are
registered in _signalRegistry (and thus streamed). Omitting output
streams all signals (backwards-compatible).

Also strips internal sync metadata (_pid, _v) from receiver state
so composition consumers only see clean signal values.

Parser: parse comma-separated idents after 'output:' key
AST: Vec<String> output field on StreamDecl
Codegen: conditional _registerSignal, delete _pid/_v on receive

Example: stream counter on 'ws://...' { mode: signal, output: count, doubled }
2026-02-26 08:56:32 -08:00
..
ds-analyzer feat(compiler): complete bitstream integration — all 9 changes 2026-02-25 13:26:59 -08:00
ds-cli feat: v2 module system — import/export with multi-file compilation 2026-02-25 20:36:18 -08:00
ds-codegen feat: explicit signal output API for stream declarations 2026-02-26 08:56:32 -08:00
ds-layout feat(compiler): complete bitstream integration — all 9 changes 2026-02-25 13:26:59 -08:00
ds-parser feat: explicit signal output API for stream declarations 2026-02-26 08:56:32 -08:00
ds-types feat: v2 phase 1 — array access, timer, string interpolation 2026-02-25 19:20:20 -08:00