Files
agent-orchestrator-benchmark/calculators/builder-adversary-lean/run-05/machine-docs/BACKLOG-parse.md

596 B
Raw Blame History

BACKLOG — parse phase

Build backlog

  • Implement calc/parser.py with Num, BinOp, Unary nodes and parse() function
  • Implement calc/test_parser.py with 24 tests covering D1D5
  • Verify D1: precedence (1+2*3 tree structure confirmed)
  • Verify D2: left associativity (8-3-2, 8/4/2 tree structure confirmed)
  • Verify D3: parentheses ((1+2)*3 tree structure confirmed)
  • Verify D4: unary minus (-5, -(1+2), 3*-2 confirmed)
  • Verify D5: all 5 error cases raise ParseError
  • Run full test suite: 48/48 pass

Adversary findings

(pending)