Swiftpack.co - Package - bluk/decompose

➡️ Decompose

Apache-2.0 License Swift SPM Compatible Platforms

Build Status

A(nother) parser combinator library inspired by Parsec: Direct Style Monadic Parser Combinators for the Real World, Deterministic, Error-Correcting Combinator Parsers, and funcj.parser, Java parser combinator framework.

Getting Started

This package is intended for use with Swift Package Manager. To use in your own package, add the following dependency:

dependencies: [
    .package(url: "https://github.com/bluk/decompose.git", from: "0.2.0")
]

Be sure to also add Decompose as a dependency in your .target like:

.target(
  name: "YourTarget",
  dependencies: ["Decompose"]),

In your code:

import DecomposeCore
import DecomposeOperators

Documentation

Development

If you wish to modify this code, you can clone this repository and use Swift Package Manager to build and test this code.

swift build
swift test

If you want to generate an Xcode project, you can run:

swift package generate-xcodeproj

Generate Docs

To generate the documentation, you need Ruby installed, and then run:

bundle install
swift package generate-xcodeproj
jazzy -o docs/DecomposeCore --module "DecomposeCore" --module-version latest -g https://github.com/bluk/decompose
jazzy -o docs/DecomposeOperators --module "DecomposeOperators" --module-version latest -g https://github.com/bluk/decompose
jazzy -o docs/DecomposeJSON --module "DecomposeJSON" --module-version latest -g https://github.com/bluk/decompose

Related Links

License

Apache-2.0 License

Github

link
Stars: 0
Help us keep the lights on

Dependencies

Used By

Total: 0

Releases

v0.2.0 - Sep 15, 2018

v0.1.0 - Sep 8, 2018