Files
el/tests/time/runner.el
T
Will Anderson e7c2fd02df 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
2026-05-02 12:57:13 -05:00

16 lines
682 B
EmacsLisp

// runner.el entry point for the time/ acceptance corpus.
//
// Unlike tests/html_sanitizer/runner.el (which iterates cases.json against
// a single runtime function), each time/examples/*.el is its own El
// program with its own fn main(). Compile, link, and run-output-diff is
// handled by tests/time/run.sh this file is the El-side stub kept for
// pattern parity (every tests/<name>/ has both a runner.el and a run.sh).
//
// Run from the time/ directory:
// ./run.sh
fn main() -> Void {
println("time/ acceptance corpus is driven by run.sh — invoke that directly.")
println("Each examples/*.el is a self-contained program; runner.el is a parity stub.")
}