Mercurial > lbo > hg > pcombinators
changeset 88:d1f3bed5b515 draft
More markdown corrections for bitbucket
author | Lewin Bormann <lbo@spheniscida.de> |
---|---|
date | Sun, 26 May 2019 00:24:28 +0200 |
parents | fd075f0104b2 |
children | a4832ea66167 |
files | README.md |
diffstat | 1 files changed, 6 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/README.md Sun May 26 00:19:21 2019 +0200 +++ b/README.md Sun May 26 00:24:28 2019 +0200 @@ -6,13 +6,14 @@ always been fascinated by them, so I wanted to try if I can implement them :-) There are examples in the form of -* a JSON parser in `pcombinators/tests/json.py` and - * test it with `parse_json('{"ob": "ject"}')` or `Value().parse(ParseFileState('test.json'))`. - * It does not accept whitespace except in strings. `parse_json()` takes care + +* a JSON parser in `pcombinators/tests/json.py` and + * test it with `parse_json('{"ob": "ject"}')` or `Value().parse(ParseFileState('test.json'))`. + * It does not accept whitespace except in strings. `parse_json()` takes care of this in a simple way, but keep this in mind when trying to parse your own input. -* a parser for arithmetic expressions in `pcombinators/tests/arith.py` -* a parser for CSV files in `pcombinators/tests/csv.py` +* a parser for arithmetic expressions in `pcombinators/tests/arith.py` +* a parser for CSV files in `pcombinators/tests/csv.py` TODO: Formal documentation (although every parser is already documented now)