BenchR267/Parsel
Create complex parsers by combining simple ones with Parsel!
Swift Package Manager
To use Parsel in your project, just add it as a dependency in your Package.swift file and run swift package update.
import PackageDescription
let package = Package(
name: "MyAwesomeApp",
dependencies: [
.package(url: "https://github.com/BenchR267/Parsel", from: "3.0.2")
]
)Cocoapods
To use Parsel with Cocoapods, just add this entry to your Podfile and run pod install:
target 'MyAwesomeApp' do
use_frameworks!
pod 'Parsel'
endRequirements
- Swift 4.0
* Parsel is written in Swift 4.0 development snapshots and will be available when Swift 4.0 is released
Example
Calculator is a small example I wrote with Parsel.
[Calculator_GIF]
Documentation
Check out the documentation on the Github page.
Author
- @benchr, mail@benchr.de
Contributing
To start contributing to Parsel please clone the project and configure it initially:
$ git clone git@github.com:BenchR267/Parsel.git
$ cd Parsel
$ make initialPlease make sure that all tests are green before you submit a pull request by running make test.
If you experience a bug or have an idea for a feature request but you don't know where to get started: feel free to open an issue with a self-explaining description text.
If you have an idea for a better (more readable and/or faster) implementation for an existing function: feel free to change the code and submit a pull request. I will be more than happy to review the changes to make Parsel the best project it can be!
License
Parsel is under MIT license. See the LICENSE file for more info.
Package Metadata
Repository: BenchR267/Parsel
Homepage: https://benchr267.github.io/Parsel/
Stars: 22
Forks: 3
Open issues: 2
Default branch: master
Primary language: swift
License: MIT
Topics: cocoapods, grammer, parser-combinators, spm, swift
README: README.md