From e4c5409397e6e833984d221d63a62ea7bcb2c4a9 Mon Sep 17 00:00:00 2001 From: jacksonfu14 Date: Thu, 6 Nov 2025 07:50:44 +0100 Subject: refactor: use cargo --- morphology/src/lib.rs | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 morphology/src/lib.rs (limited to 'morphology/src/lib.rs') diff --git a/morphology/src/lib.rs b/morphology/src/lib.rs new file mode 100644 index 0000000..de6a3e4 --- /dev/null +++ b/morphology/src/lib.rs @@ -0,0 +1,22 @@ +//! Meta-Affine Sequence Generator +//! +//! A library for generating and validating meta-affine sequences. +//! +//! A meta-affine space consists of 2-tuple values (outer, inner) derived from (0,0) +//! using five derivation rules. Valid sets are downward-closed subsets, and valid +//! sequences are ordered arrangements of set elements satisfying four constraints. +//! +//! # Modules +//! +//! - [`value`] - Core data structures: Value type and minimum derivation paths +//! - [`set`] - Valid set generation and validation +//! - [`sequence`] - Valid sequence generation and constraint checking + +pub mod value; +pub mod set; +pub mod sequence; + +// Re-export main types and functions for convenience +pub use value::{Value, get_minimum_derivation_path, path_length}; +pub use set::ValidSet; +pub use sequence::Sequence; -- cgit v1.2.3