Expand description
§Marqant - Quantum-Compressed Markdown Format
Marqant (.mq) is a revolutionary compression format designed specifically for AI consumption, achieving 90% token reduction while maintaining semantic integrity.
§Features
- Token-based compression: Common markdown patterns become single tokens
- AI-optimized: Reduces token usage in LLM contexts by 70-90%
- Streaming support: Can process before full dictionary is loaded
- Multiple compression levels: From light tokenization to quantum compression
- DNS integration: Supports distributed token dictionaries via DNS
§Usage
use marqant::Marqant;
let compressor = Marqant::default();
let compressed = compressor.compress("# Hello World\n\nThis is markdown content");
let decompressed = compressor.decompress(&compressed).unwrap();§Binary Format
The .mq format consists of:
- Header: Version, timestamp, sizes, flags
- Token dictionary with escaped patterns
- Compressed content using token substitution
- Optional metadata sections
Modules§
- angel_
blessings - Angels & Demons: The Duality of Compression
- bridge
- Ayanese Bridge Model Prototype
- data_
bridge - Marqant Data Bridge (MQ-DBX) Prototype
- digest_
state - Digest State - Stateful Log Tracking
- dns
- log_
summarizer - Smart Log Summarization
- mem8_
bridge - MEM|8 Bridge - UTL consciousness packets to wave memory storage
- novelty
- semantic
- utl_
enforced - Type-level enforced UTL pipeline
- utl_
phonetics - UTL Phonetics - Compact binary representation of spoken consciousness
- utl_
pipeline - Universal Language Pipeline Correct flow: Raw → UTL → Analysis/Storage → Human(lang)
Structs§
Constants§
Functions§
- fnv1a64
- mq2_
uni_ decode - mq2_
uni_ encode - read_
mq_ metadata - wordcloud_
svg - Generate a deterministic SVG word cloud from input text.