Skip to content

Commit 2f35d70

Browse files
author
Liam Flynn
committed
Slight correction to readme.
1 parent 92c8c46 commit 2f35d70

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ PGNParser is designed to parse [Portable Game Notation](https://en.wikipedia.org
1010

1111
Currently, only the draughts game strings have been implemented. Pull requests are welcome for further features.
1212

13-
Parsing can be enacted by simply making a single 'parse' call on the draughts move object.
13+
Parsing can be enacted by simply making a single 'parse' call on the draughts move struct.
1414

1515
A result type will be returned which will contain the resulting move array or details of any failure.
1616

1717
A failure contains an enumeration describing the reason for the failure and usually the token which failed.
1818

19-
The following will parse a PGN string to a DraughtsMove structure containing a black and a white move.
19+
The following PGN string will parse to a DraughtsMove structure containing a black and a white move.
2020

2121
```swift
2222
let sinlgeMoveTwoPlayers = "1. 9-14 23-18"
@@ -35,6 +35,7 @@ case .failure(let reason):
3535
There are 2 external requirements for this project. Both by Tigerpixel, the same authors.
3636

3737
[Currier](https://github.com/tigerpixel/Currier.git) - A helper for currying functions and initializers which is used with the project.
38+
3839
[ParserCombinator](https://github.com/tigerpixel/ParserCombinator.git) - A General parser combinator which is extended to build PGNParser.
3940

4041
- iOS 8.0+ / macOS 10.9+ / tvOS 9.0+ / watchOS 2.0+

0 commit comments

Comments
 (0)