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