-
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement
Parser.Advanced.token
and demo composite integer parser
+ Automate tests using a composite integer parser supporting an optional negation token.
- Loading branch information
Showing
10 changed files
with
72 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
.../elm-interactive-scenarios-kernel/elm-kernel-parser-advanced/steps/351/expected-value.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Ok [] |
1 change: 1 addition & 0 deletions
1
...rain/elm-interactive-scenarios-kernel/elm-kernel-parser-advanced/steps/351/submission.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Parser.Advanced.run (Parser.Advanced.symbol CompositeParser.negateToken) "-" |
1 change: 1 addition & 0 deletions
1
.../elm-interactive-scenarios-kernel/elm-kernel-parser-advanced/steps/420/expected-value.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Ok 0 |
1 change: 1 addition & 0 deletions
1
...rain/elm-interactive-scenarios-kernel/elm-kernel-parser-advanced/steps/420/submission.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Parser.Advanced.run CompositeParser.signedInt "0" |
1 change: 1 addition & 0 deletions
1
.../elm-interactive-scenarios-kernel/elm-kernel-parser-advanced/steps/421/expected-value.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Ok -1 |
1 change: 1 addition & 0 deletions
1
...rain/elm-interactive-scenarios-kernel/elm-kernel-parser-advanced/steps/421/submission.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Parser.Advanced.run CompositeParser.signedInt "-1" |
1 change: 1 addition & 0 deletions
1
.../elm-interactive-scenarios-kernel/elm-kernel-parser-advanced/steps/423/expected-value.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Ok -615 |
1 change: 1 addition & 0 deletions
1
...rain/elm-interactive-scenarios-kernel/elm-kernel-parser-advanced/steps/423/submission.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Parser.Advanced.run CompositeParser.signedInt "-615" |