Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
morphic
command
Command morphic is the Morphic CLI: it lowers an API spec into Morphic IR.
|
Command morphic is the Morphic CLI: it lowers an API spec into Morphic IR. |
|
morphic-harness
command
Command morphic-harness sweeps API specs through the Morphic bug-catching oracles (no panic/error, IR invariants, JSON round-trip, determinism) and reports the outcome per spec.
|
Command morphic-harness sweeps API specs through the Morphic bug-catching oracles (no panic/error, IR invariants, JSON round-trip, determinism) and reports the outcome per spec. |
|
Package compilers defines the contract between spec compilers and the engine: a Compiler lowers source documents of its formats into an ir.Document plus diagnostics, purely and reentrantly.
|
Package compilers defines the contract between spec compilers and the engine: a Compiler lowers source documents of its formats into an ir.Document plus diagnostics, purely and reentrantly. |
|
openapi
Package openapi lowers OpenAPI 3.0/3.1/3.2 documents into the Morphic IR.
|
Package openapi lowers OpenAPI 3.0/3.1/3.2 documents into the Morphic IR. |
|
Package engine orchestrates the Morphic pipeline: it sniffs the source format, dispatches to the registered compiler, and runs IR passes.
|
Package engine orchestrates the Morphic pipeline: it sniffs the source format, dispatches to the registered compiler, and runs IR passes. |
|
internal
|
|
|
harness
Package harness compiles OpenAPI specs and applies the bug-catching oracles (no panic/error, irverify invariants, JSON round-trip, determinism), returning a structured Result per spec.
|
Package harness compiles OpenAPI specs and applies the bug-catching oracles (no panic/error, irverify invariants, JSON round-trip, determinism), returning a structured Result per spec. |
|
Package ir defines Morphic's spec-agnostic intermediate representation: the single contract between spec compilers and generator emitters.
|
Package ir defines Morphic's spec-agnostic intermediate representation: the single contract between spec compilers and generator emitters. |
|
irtest
Package irtest provides golden-snapshot helpers for IR documents.
|
Package irtest provides golden-snapshot helpers for IR documents. |
|
irverify
Package irverify checks a compiled ir.Document against the structural invariants every compiler must uphold (stable IDs, no dangling references, neutral naming).
|
Package irverify checks a compiled ir.Document against the structural invariants every compiler must uphold (stable IDs, no dangling references, neutral naming). |
|
Package pass hosts Morphic's IR-to-IR passes: pure analyses and transforms that consume an ir.Document and emit diagnostics (or, in later passes, a rewritten document).
|
Package pass hosts Morphic's IR-to-IR passes: pure analyses and transforms that consume an ir.Document and emit diagnostics (or, in later passes, a rewritten document). |
Click to show internal directories.
Click to hide internal directories.