Contents

rarestype/gram

🍫   **gram**   🍫

Requirements

The gram library requires Swift 6.0 or later.

| Platform | Status | | -------- | ------ | | πŸ’¬ Documentation | [[Status]](https://github.com/rarestype/gram/actions/workflows/Documentation.yml) | | 🐧 Linux | [[Status]](https://github.com/rarestype/gram/actions/workflows/Tests.yml) | | 🍏 Darwin | [[Status]](https://github.com/rarestype/gram/actions/workflows/Tests.yml) | | 🍏 Darwin (iOS) | [[Status]](https://github.com/rarestype/gram/actions/workflows/Tests.yml) | | 🍏 Darwin (tvOS) | [[Status]](https://github.com/rarestype/gram/actions/workflows/Tests.yml) | | 🍏 Darwin (visionOS) | [[Status]](https://github.com/rarestype/gram/actions/workflows/Tests.yml) | | 🍏 Darwin (watchOS) | [[Status]](https://github.com/rarestype/gram/actions/workflows/Tests.yml) |

Adding `gram` as a dependency

To use gram in a project, add the following to your Package.swift file:

let package: Package = .init(
    ...
    dependencies: [
        // other dependencies
        .package(url: "https://github.com/rarestype/gram", from: "2.0.0"),
    ],
    targets: [
        .target(
            name: "example",
            dependencies: [
                .product(name: "Grammar", package: "gram"),
                // other dependencies
            ]
        ),
        // other targets
    ]
)

Package Metadata

Repository: rarestype/gram

Default branch: master

README: README.md