TatML Language Specification v0.1.2
TatML (Tatting Markup Language) is a domain-specific language for describing tatting lace patterns with precise element identification and join notation.
Overview
TatML (Tatting Markup Language) is a domain-specific language for describing tatting lace pattern...
Lexical Elements
Keywords These are what are called reserved words, which means you can't use these as your varia...
Grammar Rules
Pattern Structure Pattern := "pattern" String "{" PatternBody "}" PatternBody := Import* Metada...
Semantic Rules
Element Identification All rings and chains must have unique identifiers within pattern scope ...
Validation Rules
Structural Validation All referenced elements must exist All referenced picots must exist on ...
Standard Library
Built-In Functions join(reference) // Basic join to picot join(ref1, ref2) // ...
Pattern Composition
Simple Pattern Reference import "./motifs/basic_flower.tatml" as flower pattern "Garden" { ...
Error Handling
Import Errors File not found Invalid TatML in imported file Circular import dependencies Pa...
Examples
Reusable Motif Definition // File: motifs/flower_center.tatml pattern "Flower Center" { th...
Implementation Notes
Parser Requirements Module system for import resolution Symbol table with namespace support ...