Syntax is a SwiftUI-like parser builder DSL. You use composition and functional programming to implement a top-down LL(n) parser with minimal effort.
Swift Package Manager
You can install Syntax via Swift Package Manager by adding the following line to your
import PackageDescription let package = Package( [...] dependencies: [ .package(url: "https://github.com/nerdsupremacist/Syntax.git", from: "0.2.0") ] )
Contributions are welcome and encouraged!
Syntax is available under the MIT license. See the LICENSE file for more info.