summaryrefslogtreecommitdiff
path: root/morphology/src/lib.rs
diff options
context:
space:
mode:
authorjacksonfu14 <jackson@fashionunited.com>2025-11-06 07:50:44 +0100
committerJackson Moore <jacksonmoore@tuta.io>2025-11-06 07:50:44 +0100
commite4c5409397e6e833984d221d63a62ea7bcb2c4a9 (patch)
tree9754d7a8b1a7f6185a0585c7a7a783f24326b2dd /morphology/src/lib.rs
parentc20b1fe88b0ab1469300bd53be14faa6a5b917a0 (diff)
refactor: use cargo
Diffstat (limited to 'morphology/src/lib.rs')
-rw-r--r--morphology/src/lib.rs22
1 files changed, 22 insertions, 0 deletions
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;