Commit Graph
4 Commits
Author SHA1 Message Date
dev 571cc6e362 spec: accept RFC 0007 and integrate I/O and linear resources
- spec 06 §6-§7: feature resources, consumption and verifier rules,
  io_error
- spec 05 §11.1 fallible intrinsic form; spec 07 §8.7 frozen built-in
  enum variants, §8.9 resource types; spec 07a resources and run record
  fields; spec 11 §8 execution profiles, blocked outcome, result channel
- reference/intrinsics.md: formal catalogue; capabilities.md: io_error
  and fs prefix narrowing
- features: resources published, linear_aggregates reserved
2026-10-04 13:52:26 +03:00
dev c7bcea294e rfc: 0007 revision 2, remaining examples and diagnostics note 2026-10-04 13:51:32 +03:00
dev 67b228e547 rfc: 0007 revision 2 per owner review
- file<read|write|append>: mode in the type, wrong mode is E1001
- closing intrinsics consume on both edges; second close is E2002
- io_error.other carries no host errno; built-in enum variant sets are
  frozen once published (timed_out reserved for Phase 3 timers)
- no synthetic timed_out: deterministic quiescence ends the run with
  environment outcome blocked (exit 7)
- hosted run record goes to a separate result channel (--result-file);
  stderr summary is for humans only
2026-10-04 13:51:14 +03:00
dev c6acf42182 rfc: 0007 I/O intrinsics, I/O errors and linear resources (Proposed)
Feature resources (file, listener, stream: linear, borrowable, closed
explicitly); built-in io_error; fallible intrinsics as ok/err
terminators; catalogue for console, files, TCP, clock, random; fs
prefix narrowing; deterministic and hosted profiles.
2026-10-04 13:45:31 +03:00