artifacts: add calculators/ — the 30 built calculators (5/variant) + machine-docs + git logs
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
# JOURNAL — phase `lex`
|
||||
|
||||
## 2026-06-15
|
||||
|
||||
- Read plan, set up `calc/` package with `lexer.py` and `test_lexer.py`.
|
||||
- `Token` uses `__eq__` for easy test assertions; `__repr__` for readable output.
|
||||
- Number parsing: handles integers, `3.14`, `.5`, `10.`; lone `.` raises LexError.
|
||||
- Operator dispatch via `_SINGLE` dict — clean and extensible.
|
||||
- 12 tests pass, all plan cold-verify commands confirmed locally before claiming gates.
|
||||
- Pulled Adversary's REVIEW-lex.md (all PENDING) before commit — no conflicts.
|
||||
Reference in New Issue
Block a user