Metakit / API

@doeixd/metakit/language

Group typed custom operations into families.

Namespaces

safeIntK3metakit/safe-int-k3@1: integers within ±(2^53−1) that refuse rather than wrap, booleans and text under three-valued null, over Lit, Path, Call, If and…

Functions

completeCheck that a table implements every operation in the language and return that table.
composeCompose two Languages into one while preserving literal operation IDs and types. Identical AnyOperation references are merged idempotently; conflicting…
describeDescribe the operations for a client/server compatibility check.
makeDefine a domain language from named families of operations.
readinessReport expression portability, required operations, and unsupported paths for target.
restrictDerive a smaller host-specific vocabulary (e.g. a browser-safe subset) from language. Each kept operation is passed as the member itself, e.g.…

Classes

LanguageConflictErrorTwo composed languages declared conflicting operations or SQL lowerings.

Interfaces

Language
LanguageOptions
ReadinessProfileA named, bounded fragment of the language with exact semantics, which Language.readiness checks an expression against: the core operators and node kinds it…
ReadinessReportStructured capability check result distinguishing portability from target support.
UnsupportedReasonSpecific node or capability gap reported by Language.readiness.

Types

ComposedFamiliesMerge two family maps, combining operations within shared family names.
FamilySelectionThe members Language.restrict keeps: per family, a record of that family's own operations.
ProfileNodeThe node kinds a profile can admit. Rows and Opaque are outside every profile.
ReadinessTargetBackend target inspected by Language.readiness.