/** * Statements, as instructions. * * Every statement leaves the operand stack as it found it, which is what * `compiled-program.md` 3.2 means by the stack being empty at the start of * every top-level statement and what the verifier's stack walk checks. * * The one shape worth reading twice is the assignment. Three of them emit no * store at all: a name holding an `input()`, whose slot the engine writes at * step 5 of every bar; a name holding a declaration handle, which is a * compile-time value; and a name holding a grid, which the engine puts in the * slot the declaration names. Each is a declaration wearing an assignment's * clothes, and an emitter that stored them would be emitting per-bar work for * something settled before bar 0. */ import type { Block, Statement } from '../ast/index.js'; import type { Emitter, Frame } from './context.js'; export declare function emitBlock(e: Emitter, f: Frame, block: Block): void; export declare function emitStatement(e: Emitter, f: Frame, statement: Statement): void; //# sourceMappingURL=statements.d.ts.map