On this page
Authoring defines software meaning
Authoring is the human- and tool-friendly layer where software meaning is declared. An authoring implementation may be written in Python, TypeScript, or another language, but every implementation must compile into the same Canonical Dryv Runtime IR.
Authoring exists to make software meaning expressive without turning one host language into a private Dryv dialect.
The authoring boundary
The boundary is intentionally narrow:
Authoring source
↓
Language-native Author SDK
↓
Typed authored definitions
↓
Author compiler / provider
↓
Canonical Dryv Runtime IR
Once canonical meaning has been produced, authoring is finished.
What authoring owns
Authoring can:
- define schemas, operations, events, policies, failures, views, workflows, and other canonical concepts;
- validate authored declarations;
- create explicit typed relationships;
- reduce repetitive declarations without hiding behavior;
- preserve documentation and source provenance;
- compile declarations into canonical Runtime IR structures.
Authoring should make related concepts convenient to express, but convenience must compile into explicit canonical relationships.
What authoring does not own
Authoring does not:
- select generation packs;
- select templates;
- define target-framework roles;
- define generated output paths;
- write generated files;
- serialize Runtime IR;
- own Runtime IR loading or inspection;
- create a semantic model understood only by one authoring language.
These responsibilities belong to the runtime, templating, usage, and client layers.
Current authoring implementations
Dryv currently has authoring implementations for:
Python
Python authoring provides language-native declarations and compiles them into the same canonical Runtime IR used everywhere else in Dryv.
TypeScript
TypeScript authoring provides a typed API for the same canonical model. It does not create a separate TypeScript semantic model.
The important invariant is not that both APIs look identical. The invariant is that equivalent authored meaning compiles into the same canonical vocabulary.
Connected APIs, canonical ownership
A language API may let you start from one concept and fluently declare related concepts. For example, a Schema-focused API could make it convenient to declare an associated Operation.
That convenience does not change semantic ownership.
Compilation should normalize the authored convenience into explicit registries, stable references, and canonical relationships.
Determinism and identity
Authoring must not rely on process-global mutation, import order, or host object identity as semantic authority.
Equivalent authored meaning should produce deterministic canonical meaning with stable identities and explicit relationships.
Why this matters to users
Because authoring ends at canonical meaning, the same software description can be used with different packs, renderers, target languages, and project structures without redefining the software itself.