1.6 KiB
1.6 KiB
DreamStack TODO
Streaming ✅
- Signal streaming, pixel streaming, delta streaming, touch/gamepad/resize input
- Pixel streaming for DOM apps, Opus audio, receiver gamepad, adaptive quality
- Neural frame types, remaining input types, layout serialization, WASM codec
Streaming — Phase 2 ✅
- Stream transforms —
_streamMap/_streamFilter/_streamDebounce/_streamDistinct/_streamThrottlepipe operators - Replay / Time-travel — relay replay ring buffer with configurable
replay_depth - Stream recording —
recording_dirconfig in relay for frame-level recording - Multi-relay federation —
federation_upstreamsrelay config for cross-network forwarding
Language ✅
- Closures / lambdas —
(x) -> x * 2first-class functions (parser + codegen) - Pattern destructuring —
let { count, doubled } = stream from "..."desugars to dot-access lets - Async/await —
await fetch("/api")native async in handlers - Better error messages — source context with line + caret in parse errors
Composition ✅
mergeoperator —merge(stream1, stream2)→DS._mergeStreams()reactive mergepipeoperator —stream from "..." | fnpipe syntax in parser + enhanced runtime- Stream-to-component — component with dynamic
stream fromparam - Channel groups —
channel_matches()wildcard matching:games/*matchesgames/chess
Architecture
- Compiler plugin system for custom output targets
- Language server (ds-lsp) for IDE integration
- Package registry for sharing .ds components