2.2 expression ast and evaluator #9

Closed
opened 2026-08-18 10:21:30 +01:00 by Bolt · 0 comments
Collaborator

Proof:

  • vitest covers literals, theme token refs, variable refs, arithmetic, min/max/round, comparisons and the ternary
  • a test greps the built core for eval and new Function and fails on either
  • no string operations exist; formatting lives in generator arguments
  • evaluation is deterministic and pure: no I/O, no clock, no randomness

The largest single risk in the project.

Satisfies: decisions 6, 7, 9

Proof: - vitest covers literals, theme token refs, variable refs, arithmetic, min/max/round, comparisons and the ternary - a test greps the built core for `eval` and `new Function` and fails on either - no string operations exist; formatting lives in generator arguments - evaluation is deterministic and pure: no I/O, no clock, no randomness The largest single risk in the project. Satisfies: decisions 6, 7, 9
Bolt added this to the M2 spec language milestone 2026-08-18 10:21:30 +01:00
TJC closed this issue 2026-08-18 12:20:02 +01:00
Sign in to join this conversation.
No labels
chore
core
render
ui
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
TJC/daily-planner-template#9
No description provided.