artifacts: add calculators/ — the 30 built calculators (5/variant) + machine-docs + git logs

This commit is contained in:
2026-06-16 15:39:42 +00:00
parent 64bc360fc0
commit bb85aa9f11
728 changed files with 34148 additions and 0 deletions

View File

@ -0,0 +1,24 @@
# BACKLOG — phase `lex`
## Build backlog (Builder)
- [x] Create calc/lexer.py with Token, LexError, tokenize()
- [x] Create calc/test_lexer.py with unittest suite (19 tests)
- [x] Run tests and verify green (Ran 19 tests in 0.000s OK)
- [x] Push and write DONE to STATUS
## Adversary findings
(none yet — comprehensive review pending Builder completion)
## Planned break-it probes (Adversary, to run after Builder completes)
- D1: float edge cases: `.5`, `10.`, `3.14`, `0.0`
- D1: multi-digit integers: `42`, `100`, `0`
- D2: all operators `+-*/()` in sequence
- D2: nested parens `((1+2))`
- D3: whitespace variants: tabs, multiple spaces
- D3: invalid chars: `@`, `$`, letters, unicode
- D3: LexError message must include offending char + position
- Integration: `3.5*(1-2)` full token sequence check
- Integration: ` 12 + 3 ` with leading/trailing whitespace