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.
You can install Syntax via Swift Package Manager by adding the following line to your Package.swift:
import PackageDescription
let package = Package(
[...]
dependencies: [
.package(url: "https://github.com/nerdsupremacist/Syntax.git", from: "0.2.0")
]
)Coming soon
Contributions are welcome and encouraged!
Syntax is available under the MIT license. See the LICENSE file for more info.