add Instant + Duration as first-class types in El

Postfix literal syntax (30.seconds, 1.hour). Type-checked arithmetic
(Instant + Duration -> Instant; Instant + Instant fails). TTL helpers
backed by typed Duration. sleep(Duration) replaces ambiguous sleep(Int).

Self-host fixed point holds at 5797 lines.
Snapshot tagged at dist/platform/elc.20260502-1256-self-host.

Phase 2 (every/after/at scheduling primitives) lands separately.
Backlog: bl-937e9c30
This commit is contained in:
Will Anderson
2026-05-02 12:57:13 -05:00
parent af480f6266
commit e7c2fd02df
10 changed files with 280 additions and 0 deletions
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.