etdl-parser 0.1.0

ETDL document parser, ECEL expression parser, and AsyncAPI reference resolution
Documentation

ETDL — Event Tree Definition Language Compiler

Crates.io License

A Rust compiler and runtime for the ETDL specification.

ETDL is a declarative, design-time DSL for reliability-aware, event-driven business processes. It models causal sequences as event trees (IEC 62502) and failure probabilities as fault trees (IEC 61025).

Crates

Crate crates.io Description
etdl-cli Crates.io CLI binary for compiling and validating .etdl documents
etdl-parser Crates.io .etdl document parser, ECEL expression parser, AsyncAPI resolution
etdl-compiler Crates.io Semantic validator, fault tree resolver, code generator
etdl-core Crates.io Runtime library: BranchMonitor, retry, SLA, chaos injection

Quick Start

# Install the CLI
cargo install etdl-cli

# Compile an .etdl document to Rust
etdl compile order-fulfillment.etdl --target rust --out-dir ./generated

# Validate an .etdl document
etdl validate order-fulfillment.etdl

License

Apache 2.0 — see LICENSE.