Overlay Language

A dependency injection framework with pytest-fixture syntax, plus a configuration language for declarative programming.

Navigation

Contents:

  • Getting Started with Decorators
  • Getting Started with Overlay Language
  • Overlay Language Specification
  • API Reference

Related Topics

  • Documentation overview
    • Next: Getting Started with Decorators

Overlay Language¶

A dependency injection framework with pytest-fixture syntax, plus a configuration language for declarative programming.

Contents:

  • Getting Started with Decorators
    • Step 1 — Define services
    • Step 2 — Layer cross-cutting concerns with @patch and @merge
    • Step 3 — Force evaluation at startup with @eager
    • Step 4 — App scope vs request scope
    • Decorator reference
    • Python modules as scopes
  • Getting Started with Overlay Language
    • Python FFI adapters
    • .oyaml composition
    • Syntax quick reference
    • Python vs Overlay language
    • Evaluation
  • Overlay Language Specification
    • 1. Introduction
    • 2. Overlay Definitions and Data Types
    • 3. Syntax and Grammar
    • 4. File Structure and Formats
    • 5. Scope and Inheritance Resolution
    • 6. Binding Rules and Examples
    • 7. Appendices
  • API Reference
    • Module contents
©2025, Bo Yang. | Powered by Sphinx 9.1.0 & Alabaster 1.0.0 | Page source