Metakit / API
@doeixd/metakit/language
Group typed custom operations into families.
Namespaces
safeIntK3 | metakit/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
complete | Check that a table implements every operation in the language and return that table. |
compose | Compose two Languages into one while preserving literal operation IDs and types. Identical AnyOperation references are merged idempotently; conflicting… |
describe | Describe the operations for a client/server compatibility check. |
make | Define a domain language from named families of operations. |
readiness | Report expression portability, required operations, and unsupported paths for target. |
restrict | Derive 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
Interfaces
Language | |
LanguageOptions | |
ReadinessProfile | A named, bounded fragment of the language with exact semantics, which Language.readiness checks an expression against: the core operators and node kinds it… |
ReadinessReport | Structured capability check result distinguishing portability from target support. |
UnsupportedReason | Specific node or capability gap reported by Language.readiness. |
Types
ComposedFamilies | Merge two family maps, combining operations within shared family names. |
FamilySelection | The members Language.restrict keeps: per family, a record of that family's own operations. |
ProfileNode | The node kinds a profile can admit. Rows and Opaque are outside every profile. |
ReadinessTarget | Backend target inspected by Language.readiness. |