1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
//! # SketchDDD
//!
//! A Categorical Framework for Domain-Driven Design.
//!
//! SketchDDD bridges the gap between domain experts and developers by providing
//! precise mathematical definitions for DDD concepts using category theory.
//!
//! ## Quick Start
//!
//! ```rust,ignore
//! use sketchddd::prelude::*;
//!
//! // Create a bounded context
//! let mut ctx = BoundedContext::new("Commerce");
//!
//! // Add entities
//! let customer = ctx.add_entity("Customer");
//! let order = ctx.add_entity("Order");
//!
//! // Add value objects
//! let money = ctx.add_value_object("Money");
//!
//! // Add enumerations
//! let status = ctx.add_enum("OrderStatus", vec![
//! "Pending".into(),
//! "Confirmed".into(),
//! "Shipped".into(),
//! ]);
//! ```
//!
//! ## Crate Features
//!
//! This crate re-exports functionality from:
//! - [`sketchddd_core`] - Core data structures and categorical semantics
//! - [`sketchddd_parser`] - DSL parser
//! - [`sketchddd_codegen`] - Code generation (Rust, TypeScript, Kotlin)
//! - [`sketchddd_viz`] - Visualization (Graphviz, Mermaid)
pub use sketchddd_core as core;
pub use sketchddd_parser as parser;
pub use sketchddd_codegen as codegen;
pub use sketchddd_viz as viz;
/// Prelude module for convenient imports.