aboutsummaryrefslogtreecommitdiffstats
path: root/prototypes/workbench/qa-presentation.js
diff options
context:
space:
mode:
authoreunhhu <[email protected]>2026-10-18 16:05:34 +0100
committereunhhu <[email protected]>2026-10-18 16:05:34 +0100
commita9adaf2a1a62e5dd37f0067653b35e9cfa2c1860 (patch)
tree9a95a7611334ec3ba9d25c9a0c3c0b63cdcb3093 /prototypes/workbench/qa-presentation.js
parentc788046717f466c6681376207f368d52854cfdee (diff)
downloadpure-a9adaf2a1a62e5dd37f0067653b35e9cfa2c1860.tar.gz
pure-a9adaf2a1a62e5dd37f0067653b35e9cfa2c1860.zip
Module format and executor: 027's stage 2c, functions and characters: a function is a block CALL runs (102), its parameters the stack it begins with and RETURN (103) its results on top, which take the arguments' place; each call has its own stack and locals and its own of what the function's code names (held values empty, the event's lists empty, registers bound to none), the caller's as they were when it returns; a function's code is a handler's but for a message, CALL in handlers and functions alone, and a walk around a call keeps to the lists the callee (or what it calls) changes; calls nest as deep as the event's room allows, each frame's bytes counted there (memory) and its block's length as work; the functions' table in the header's last u16 and after the handlers (a block, parameters and results) with their signature items (a record field's type, 5 bytes); run_calls, run_batches' steps with frames in the app's blocks that never move (a CALL opens one, a RETURN closes it, a stop closes all), an event's lists calls let go kept for the next; a value held by a slot the callee has its own of copied to the arena as it crosses; held values of the payload, the arguments or the constants held as they are (nothing copied until appended to); the JIT leaves blocks with calls or list locals to the executor; local type 4 (a list value, its record in bits 16-31); CHAR_AT (104, the code point beginning at a byte position of a text) and CHAR (105, a code point's text: limit outside 0-0x10FFFF, encoding for a surrogate); and a hole closed: LOOP and EACH open on a stack holding their operands alone (a loop's block begins at the bottom of its run's stack: a verified module with values below a loop crashed the executor, 62 below and 64 in its block); unit tests (fib, a tree summed by a walk that calls itself around its register, each call's own list and held text, a list through a local, characters and their faults, a call without end failing as memory and as work with nothing changed, 11 refused; under ASan and UBSan too)
Diffstat (limited to 'prototypes/workbench/qa-presentation.js')
0 files changed, 0 insertions, 0 deletions