What is swift-parsing?
mainswift-parsing is a library designed to transform unstructured data into structured data. It focuses on four core pillars:
- Composition: Breaking complex parsing problems into smaller, simpler parsers that can be combined.
- Performance: Composed parsers are designed to perform as well as highly-tuned, hand-written parsers.
- Generality: The ability to parse any kind of input (e.g.,
String,Substring,UTF8View,Array) into any kind of output. - Invertibility: Parsers can be converted into 'printers', allowing you to transform structured data back into unstructured data (serialization).