Swift Package Index


Write parsers quickly in Swift with an intuitive SwiftUI-like DSL


  • The latest stable release is 0.1.3. Released 6 months ago.
  • The last commit to develop was 10 days ago.

Swift Version Compatibility

  • 0.1.3
    5.3
    5.2
    5.1
    5.0
    4.2
  • develop
    5.3
    5.2
    5.1
    5.0
    4.2
Full build results

Platform Compatibility

  • 0.1.3
    iOS
    macOS(Intel)
    macOS(ARM)
    Linux
    tvOS
    watchOS
  • develop
    iOS
    macOS(Intel)
    macOS(ARM)
    Linux
    tvOS
    watchOS
Full build results

Syntax

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.

Installation

Installation

Swift Package Manager

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")
    ]
)

Usage

Coming soon

Contributions

Contributions are welcome and encouraged!

License

Syntax is available under the MIT license. See the LICENSE file for more info.