039 captured fields admit text

✓ Passing This code compiles and runs correctly.

Code

input.k

Actual

calc:2 + 3
render:hello world
render:raw prose here
step 1/5 result: {"branch":""} bound: r1
step 2/5 result: {"branch":""} bound: r2
step 3/5 result: {"branch":""} bound: r3
step 4/5 result: {"branch":"","value":"ok"} bound: r4
step 5/5 result: {"branch":"","value":"ok"} bound: r5

  refused: after the value of 'text' comes ',' or ')' — text must be "double-quoted"; a bare word reads as a bound name

Expected output

calc:2 + 3
render:hello world
render:raw prose here
step 1/5 result: {"branch":""} bound: r1
step 2/5 result: {"branch":""} bound: r2
step 3/5 result: {"branch":""} bound: r3
step 4/5 result: {"branch":"","value":"ok"} bound: r4
step 5/5 result: {"branch":"","value":"ok"} bound: r5

  refused: after the value of 'text' comes ',' or ')' — text must be "double-quoted"; a bare word reads as a bound name

Flows

flow ~register click a branch to expand · @labels scroll to their anchor
register (scope: "api", source: calc(1) render(1) say(1))
subflow ~gated click a branch to expand · @labels scroll to their anchor
run (br, source)
flow ~create click a branch to expand · @labels scroll to their anchor
create (id: "cap", scope: "api", introspection: true)

Test Configuration

MUST_RUN