dreamstack/compiler
enzotar e8bbfcbcb7 perf: merge same-interval timers + breakout game + beats viewer
Performance:
- All every N statements with same interval now merge into one setInterval
- Pong: 24 timers → 1, Breakout: 38 timers → 1 (single DS.flush per frame)

New examples:
- game-breakout.ds: brick-breaker with 5×10 colored bricks, keyboard, audio
- beats-viewer.ds: step sequencer spectator via relay

Fixes:
- _playTone/_playNoise early-exit when freq/duration <= 0
- Breakout score race: score+bounce checks before brick destruction
- Score sound effects in pong (220Hz/440Hz sawtooth)

All 48 examples compile, 136 tests pass
2026-02-27 10:24:13 -08:00
..
ds-analyzer feat: *= /= operators + 6 new array methods 2026-02-26 20:29:35 -08:00
ds-cli feat: upgrade init starter app to showcase all DreamStack features 2026-02-26 16:57:08 -08:00
ds-codegen perf: merge same-interval timers + breakout game + beats viewer 2026-02-27 10:24:13 -08:00
ds-incremental feat: component registry with styled variants, dreamstack add/convert CLI, and showcase 2026-02-26 13:27:49 -08:00
ds-layout feat(compiler): complete bitstream integration — all 9 changes 2026-02-25 13:26:59 -08:00
ds-parser feat: game-pong.ds + two compiler improvements 2026-02-27 00:02:58 -08:00
ds-types feat: dynamic lists (push/remove/pop) + TodoMVC demo 2026-02-26 16:46:06 -08:00