Skip to main content

Technical Requirements

Syntax Design Goals

  • Human readable - tatters can read raw TatML
  • Machine parseable - tools can validate and process
  • Extensible - new elements can be added
  • Compact - not overly verbose for simple patterns
  • Intuitive numbering - 1-based indexing throughout

Output Requirements

  • Generate traditional text instructions
  • Produce visual diagrams (SVG)
  • Validate pattern structural integrity
  • Calculate thread length estimates
  • Handle color specifications and changes

Error Handling

  • Detect impossible joins
  • Identify thread continuity breaks
  • Report missing element references
  • Validate color change points
  • Suggest corrections when possible