Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/davedufresne/SwiftParsec
A parser combinator library written in the Swift programming language.
https://github.com/davedufresne/SwiftParsec
functional parser parser-combinators swift
Last synced: 5 days ago
JSON representation
A parser combinator library written in the Swift programming language.
- Host: GitHub
- URL: https://github.com/davedufresne/SwiftParsec
- Owner: davedufresne
- License: bsd-2-clause
- Created: 2015-11-25T18:06:07.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2022-06-12T15:37:40.000Z (over 2 years ago)
- Last Synced: 2024-05-30T00:52:52.669Z (7 months ago)
- Topics: functional, parser, parser-combinators, swift
- Language: Swift
- Size: 367 KB
- Stars: 226
- Watchers: 9
- Forks: 30
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- awesome-ios - SwiftParsec - A parser combinator library written in the Swift programming language. (Utility / Web View)
- awesome-combinator-parsers - SwiftParsec
- awesome-ios-star - SwiftParsec - A parser combinator library written in the Swift programming language. (Utility / Web View)
README
# SwiftParsec
SwiftParsec is a Swift port of the [Parsec](https://github.com/aslatter/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# Documentation
See the [wiki](https://github.com/davedufresne/SwiftParsec/wiki)# License
SwiftParsec is released under the “Simplified BSD License”. See the LICENSE file in the repository.