Latest 3.0.3
License 2-clause BSD
Platforms ios 9.0, osx 10.10, tvos 9.0, watchos 2.0

SwiftParsec is a Swift port of the Parsec parser combinator library. It allows the creation of sophisticated parsers from a set of simple parsers. It is also easy to extend the available parsers. The parsers are fully integrated into the language, they can be put into arrays, passed as parameters, returned as values, etc. SwiftParsec provides expressiveness, is well documented and simple.

Key Features

  • Reusable combinators
  • Lexical analysis
  • Expression parser
  • Permutation phrases parser
  • Extensive error messages
  • Unicode support


See the wiki


SwiftParsec is released under the “Simplified BSD License”. See the LICENSE file in the repository.

Latest podspec

    "name": "SwiftParsec",
    "version": "3.0.3",
    "license": "2-clause BSD",
    "summary": "SwiftParsec is a Swift port of the Parsec parser combinator library.",
    "homepage": "",
    "authors": {
        "David Dufresne": ""
    "source": {
        "git": "",
        "tag": "3.0.3"
    "platforms": {
        "ios": "9.0",
        "osx": "10.10",
        "tvos": "9.0",
        "watchos": "2.0"
    "source_files": "Sources/SwiftParsec/*.swift"

Pin It on Pinterest

Share This