4 "summary": "Parsel is a parser combinator library written in Swift",
5 "description": "Parsing is a very common task, it does not always mean to parse source code or JSON strings. Parsing means to transform an unstructured input to a structured output. In case of source code this means to parse a raw string to an AST (abstract syntax tree), in case of an addition it means to parse the result of adding two numbers out of a string. Parsing can always fail, if the input does not match the needed grammer. If the input string in the above example would have been 1+, it would have been failed because the second number is missing. The advantage of parser combinators is that you start with a very basic parser. In the above example digit parses only one digit. But it is not hard, to add a parser that parses more than one digit. A number is a repetition of mulitple digits. For repetition, we can use rep, which tries to apply the parser until it fails and collects the result as an array.",
6 "homepage": "https://github.com/BenchR267/Parsel",
12 "Benjamin Herzog": "mail@benchr.de"
15 "git": "https://github.com/BenchR267/Parsel.git",
18 "social_media_url": "https://twitter.com/benchr",
19 "documentation_url": "https://benchr267.github.io/Parsel",
23 "source_files": "Sources/Parsel/**/*.swift",
24 "prepare_command": "make initial",
25 "pushed_with_swift_version": "4.0"