Skip to content

Commit cb9d37c

Browse files
authored
Merge pull request #5 from tigerpixel/development
Minor typo fix before release.
2 parents 044b7c5 + ee8e03d commit cb9d37c

6 files changed

Lines changed: 12 additions & 12 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ Version 0.2.0
1616

1717
* Add basic combinators to deal with extending the parser structure.
1818
* Add basic operators to compose parsers into more useful parsers.
19-
* Add convienience parsers for characters, numbers and strings.
19+
* Add convenience parsers for characters, numbers and strings.

ParserCombinator.xcodeproj/project.pbxproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@
296296
0C1242141E7B1A8200457CBA /* ParseResultTests.swift */,
297297
0C3C65C21E85C764009ED072 /* ParserOperatorTests.swift */,
298298
0C2A7A9F1E938D710021E34B /* ParserOperatorTests+Combinations.swift */,
299-
0C1437911E7CC9AC006E3D06 /* ConvienienceParsers */,
299+
0C1437911E7CC9AC006E3D06 /* ConvenienceParsers */,
300300
0C14378F1E7CC967006E3D06 /* FoundationExtensions */,
301301
);
302302
path = ParserCombinatorTests;
@@ -328,7 +328,7 @@
328328
name = ConvienienceParsers;
329329
sourceTree = "<group>";
330330
};
331-
0C1437911E7CC9AC006E3D06 /* ConvienienceParsers */ = {
331+
0C1437911E7CC9AC006E3D06 /* ConvenienceParsers */ = {
332332
isa = PBXGroup;
333333
children = (
334334
0C1437861E7CC357006E3D06 /* CharacterParserTests.swift */,
@@ -337,7 +337,7 @@
337337
0C131CCC1E848BAB00C60A38 /* StringParserTests.swift */,
338338
0C131CDA1E8493D000C60A38 /* NumberParserTests.swift */,
339339
);
340-
name = ConvienienceParsers;
340+
name = ConvenienceParsers;
341341
sourceTree = "<group>";
342342
};
343343
/* End PBXGroup section */

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
A simple parser combinator, created in Swift.
1010

11-
ParserCombinator attempts to create a simple and user friendly way to parse strings into objects and structures. Technical terms are largely avoided and convienience parsers are provided.
11+
ParserCombinator attempts to create a simple and user friendly way to parse strings into objects and structures. Technical terms are largely avoided and convenience parsers are provided.
1212

1313
The parser can be enacted by calling the 'run' function:
1414

Source/CharacterParsers.swift

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
// Copyright © 2017 Tigerpixel Ltd. All rights reserved.
77
//
88

9-
// MARK: A convienience method to make a parser for type "Character".
9+
// MARK: A convenience method to make a parser for type "Character".
1010

1111
/**
12-
A convienience method to make a parser for type "Character".
12+
A convenience method to make a parser for type "Character".
1313

1414
A simple closure is supplied which describes a boolean result of if a character should match.
1515
The parser runs the closure and uses it to assess if the character is successful.
@@ -43,7 +43,7 @@ public func character(condition: @escaping (Character) -> Bool) -> Parser<Charac
4343
// MARK: Pre-made pasers using the character parser function for defining sets of common characters.
4444

4545
/**
46-
A convienience method to make a parser with a CharacterSet.
46+
A convenience method to make a parser with a CharacterSet.
4747

4848
All characters found in the character set will pass, all others will fail.
4949
The character assessed by the composer will be consumed by it and subtracted from the token stream.
@@ -57,7 +57,7 @@ public func character(isInCharacterSet charSet: CharacterSet) -> Parser<Characte
5757
}
5858

5959
/**
60-
A convienience method to make a parser which only accepts a sinlge Character.
60+
A convenience method to make a parser which only accepts a sinlge Character.
6161

6262
Only the given character will pass, all others will fail.
6363
The character assessed by the composer will be consumed by it and subtracted from the token stream.
@@ -71,7 +71,7 @@ public func character(isEqualTo token: Character) -> Parser<Character> {
7171
}
7272

7373
/**
74-
A convienience method to make a parser with a string.
74+
A convenience method to make a parser with a string.
7575

7676
Only characters contained in the string will pass, all others will fail.
7777
The character assessed by the composer will be consumed by it and subtracted from the token stream.

Source/Parser+Run.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
/**
1010
The Parser operates on Character Views.
11-
These convienience methods take strings for ease of running.
11+
These convenience methods take strings for ease of running.
1212
*/
1313
public extension Parser {
1414

Tests/ParserCombinatorTests/CharacterParserTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import XCTest
1111

1212
class CharacterParserTests: XCTestCase {
1313

14-
// MARK: Tests for the convienience method to make a parser for type "Character".
14+
// MARK: Tests for the convenience method to make a parser for type "Character".
1515

1616
func testCharacterWithCondition() {
1717

0 commit comments

Comments
 (0)