Packages for keyword “parser”
These packages are available as a package collection, usable in Xcode or SwiftPM.
EPUBKit
📚 Simple EPUB Parser in Swift
MimeParser
Mime parsing in Swift | Relevant RFCs: RFC 822, RFC 2045, RFC 2046
Gramophone
Swift library for working with Extended Backus–Naur Form (EBNF) notation and grammars.
Covfefe
A parser for nondeterministic context free languages
Parsey
Swift Parser Combinators
SemanticVersioningKit
Small library to create and parse Semantic Versioning conforming representations.
swift-justhtml
Swift-JustHTML a Swift port of EmilStenstrom/justhtml by implementing 100% html5 spec compliant parsing of html documents in pure Swift
SwiftParsec
A parser combinator library written in the Swift programming language.
SPARQLSyntax
SPARQL 1.1 Parser and Abstract Syntax
TreeSitterXML
XML & DTD grammars for tree-sitter
XcodeProjKit
Parse project file and write it to open step format.
xylem
XML Parsing Library
Sparse
Sparse is a simple parser-combinator library written in Swift.
CSV
A simple CSV file parser and serializer
iCalendarParser
iCalendar (RFC5545) parser in Swift
swift-jsonpath
JSONPath for Swift: RFC 9535 (passes all 715 compliance cases) and the Jayway dialect, JSON Pointer (RFC 6901), path-driven mutations, and an order-preserving JSON model with a Codable bridge. Pure Swift 6, no Foundation, no dependencies, Linux first-class.
swift-lexbor
C lexbor html parser brought to Swift
Khac
Natural-language date and time parser for Swift. Fourteen languages, one engine: reads free text like "next Friday at 5pm" or "3 gio chieu mai" and returns dates, intervals, and components.
OrgSwift
Emacs org-mode parser for Swift, verified against org-element itself: 121/121 conformance cases and 28/28 real-world files. Typed AST, zero dependencies. Ships the language-agnostic conformance suite it is graded by.
SwiftProtoParser
Native Swift library for parsing .proto files (proto2 & proto3) into SwiftProtobuf descriptors. Full syntax support, well-known types, and detailed error reporting.