Skip to content
Beskid Platform specification

Beskid

Jump to a Beskid service

Beskid

Jump to a Beskid service

Typed emitter and transforms - Contracts and edge cases

Platform spec article

Typed emitter and transforms - Contracts and edge cases

Spec standingStandard

Owner
Piotr Mikstacki
Submitter
Piotr Mikstacki

This article states contracts and edge cases for Typed emitter and transforms.

  • Deterministic ordering — discovery and execution order must be reproducible from equal inputs (path-normalized roots, sorted files, stable tie-breaks).
  • Bounded work — host enforces step limits, allocation caps, and recursion depth across nested meta calls.
  • Versioned facadesBeskid.Compiler surface is tied to compiler language version tokens exposed on the compilation instance.
  • Partial programs — facades must tolerate incomplete syntax where the language permits; diagnostics are preferred over host panics.
  • Conflicting edits — multiple meta contributors touching the same declaration identity produce a deterministic merge failure surfaced as structured diagnostics.