Files
rose-ash/plans
giles b7ad5152d8 sx: step 4 — parser spans satisfied by step 3 tokenizer fix
Verified all 4 hs-upstream-core/sourceInfo tests now pass without any parser
changes. The parser already had `link-next-cmds` (sets `:next` on each command
in a CommandList when hs-span-mode is true) and `:true-branch` extraction in
`parse-cmd` for if statements; Step 3's `:end`/`:line` token fields were the
only missing pieces.

Probed via sx_eval against the parser:
  (hs-line-at "if true\n  log 'it was true'\n    log 'it was true'"
              (list :true-branch :next))
returns "    log 'it was true'" — matches the expected upstream behaviour.

Test runner output:
  PASS: hs-upstream-core/sourceInfo > debug
  PASS: hs-upstream-core/sourceInfo > get line works for statements
  PASS: hs-upstream-core/sourceInfo > get source works for expressions
  PASS: hs-upstream-core/sourceInfo > get source works for statements
2026-05-06 22:27:26 +00:00
..