artifacts: add calculators/ — the 30 built calculators (5/variant) + machine-docs + git logs
This commit is contained in:
@ -0,0 +1,9 @@
|
||||
# DECISIONS — shared (append-only)
|
||||
|
||||
## 2026-06-15 — Token representation
|
||||
Using `dataclasses.dataclass` for Token (fields: kind: str, value: object).
|
||||
Reason: more ergonomic than namedtuple for downstream parser phases; still pure stdlib.
|
||||
|
||||
## 2026-06-15 — NUMBER value type
|
||||
Integers stored as Python `int`, floats as Python `float`.
|
||||
Detection: presence of `.` in the matched digit string → float.
|
||||
Reference in New Issue
Block a user