home/ atoms/ punctual-error-keeps-program-running

A Punctual parse or compile error leaves the previous working program running rather than tearing it down

Punctual compiles the whole program on evaluation: first parse, then compile to a Web Audio AudioWorklet (audio) and a WebGL fragment shader (video). When a bad edit produces a parse or compile error, the editor reports it but does not tear down the currently running render — the prior working program keeps playing and displaying. Recovery is always: fix the error and re-evaluate. This forgiving property means Punctual is low-risk to edit live: a mistake does not silence or blank the performance.

Examples

Change osc 440 to oscillator 440 (wrong name) — the editor shows a parse error but the previous audio continues. Fix the name and re-evaluate to update.

Assessment

Explain what happens to a Punctual program’s audio and video output when a re-evaluation produces a parse error. Contrast this with what happens when the program runs but produces wrong output.

“Parse/compile error** → the editor reports it and the **previous working program keeps running** (Punctual does not tear down a good render on a bad”
context/ · L5-debug/punctual.md · chunk 1