Skip to main content

Specifications

This section contains formal specifications for Morphir configuration and IR formats.

Contents

  • morphir.toml: Specification for morphir.toml configuration files (projects, workspaces, tasks, workflows, toolchains, bindings).

  • morphir.toml merge rules: How multiple configuration sources are merged into an effective configuration (precedence + deep-merge behavior).

  • morphir.json: Specification for the legacy morphir.json project configuration file used by morphir-elm (includes dependency fields).

  • Morphir IR Specification: The complete Morphir IR specification document, describing the structure, semantics, and usage of the Morphir IR format.

  • Morphir IR JSON Schemas: JSON schema definitions for all supported format versions of the Morphir IR (available in both YAML and JSON formats):

Purpose

This specifications section serves as the authoritative reference for:

  • Implementers: Building tools that generate, consume, or transform Morphir formats
  • Developers: Working with Morphir configuration and IR across platforms
  • LLMs: Providing context for AI tools working with Morphir
  • Tooling: Validating configuration and processing Morphir IR JSON files