347 B
347 B
JOURNAL-parse
2026-06-15 — Phase start
Reading plan. Building recursive-descent parser with:
- Grammar: expr → term ((+|-) term); term → factor ((|/) factor)*; factor → NUMBER | ( expr ) | - factor
- AST nodes: Num, BinOp, Unary
- ParseError exception
Plan: implement parser.py, test_parser.py, verify all D1–D6, then certify.