-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7dc09a9
commit 9084d5b
Showing
26 changed files
with
48 additions
and
10 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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
using System; | ||
using System.Diagnostics.CodeAnalysis; | ||
|
||
using BenchmarkDotNet.Attributes; | ||
|
||
namespace Pidgin.Bench; | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
using System.Diagnostics.CodeAnalysis; | ||
|
||
using BenchmarkDotNet.Attributes; | ||
|
||
namespace Pidgin.Bench; | ||
|
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
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
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 |
---|---|---|
@@ -1,5 +1,7 @@ | ||
using Pidgin.Comment; | ||
|
||
using Xunit; | ||
|
||
using static Pidgin.Parser; | ||
using static Pidgin.Parser<char>; | ||
|
||
|
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 |
---|---|---|
@@ -1,5 +1,7 @@ | ||
using System.Threading.Tasks; | ||
|
||
using Benjamin.Pizza.DocTest; | ||
|
||
using Xunit; | ||
|
||
namespace Pidgin.Tests; | ||
|
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 |
---|---|---|
@@ -1,3 +1,5 @@ | ||
using System.Collections.Immutable; | ||
|
||
using Pidgin.Examples.Expression; | ||
|
||
using Xunit; | ||
|
@@ -23,10 +25,8 @@ public void TestExpression() | |
new Call( | ||
new Call( | ||
new Identifier("foo"), | ||
[ | ||
new UnaryOp(UnaryOperatorType.Neg, new Literal(3)), | ||
new Identifier("x") | ||
] | ||
[new UnaryOp(UnaryOperatorType.Neg, new Literal(3)), new Identifier("x") | ||
Check failure on line 28 in Pidgin.Tests/ExpressionExampleTests.cs GitHub Actions / build / build
|
||
] | ||
), | ||
[] | ||
), | ||
|
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
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 |
---|---|---|
@@ -1,6 +1,8 @@ | ||
using System; | ||
using System.IO; | ||
|
||
using Pidgin.TokenStreams; | ||
|
||
using Xunit; | ||
|
||
namespace Pidgin.Tests; | ||
|
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 |
---|---|---|
|
@@ -3,7 +3,9 @@ | |
using System.Collections.Immutable; | ||
using System.Linq; | ||
using System.Text; | ||
|
||
using Xunit; | ||
|
||
using static Pidgin.Parser; | ||
using static Pidgin.Parser<char>; | ||
|
||
|
@@ -1128,6 +1130,7 @@ public void TestCIOneOf() | |
new Expected<char>(ImmutableArray.Create('B')), | ||
new Expected<char>(ImmutableArray.Create('c')), | ||
new Expected<char>(ImmutableArray.Create('C')) | ||
, | ||
Check failure on line 1133 in Pidgin.Tests/StringParserTests.cs GitHub Actions / build / build
|
||
], | ||
0, | ||
SourcePosDelta.Zero, | ||
|
@@ -1157,6 +1160,7 @@ public void TestCIOneOf() | |
new Expected<char>(ImmutableArray.Create('B')), | ||
new Expected<char>(ImmutableArray.Create('c')), | ||
new Expected<char>(ImmutableArray.Create('C')) | ||
, | ||
Check failure on line 1163 in Pidgin.Tests/StringParserTests.cs GitHub Actions / build / build
|
||
], | ||
0, | ||
SourcePosDelta.Zero, | ||
|
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 |
---|---|---|
|
@@ -214,6 +214,7 @@ [new Expected<TToken>(ImmutableArray.CreateRange(render("foobat")))], | |
[ | ||
Check failure on line 214 in Pidgin.Tests/TryTests.cs GitHub Actions / build / build
|
||
new Expected<TToken>(ImmutableArray.CreateRange(render("foo"))), | ||
new Expected<TToken>(ImmutableArray.CreateRange(render("foobat"))) | ||
, | ||
Check failure on line 217 in Pidgin.Tests/TryTests.cs GitHub Actions / build / build
|
||
], | ||
0, | ||
SourcePosDelta.Zero, | ||
|
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
using System; | ||
using System.Diagnostics.CodeAnalysis; | ||
|
||
using Pidgin.Configuration; | ||
|
||
namespace Pidgin; | ||
|
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 |
---|---|---|
@@ -1,4 +1,5 @@ | ||
using System.Diagnostics.CodeAnalysis; | ||
|
||
using Pidgin.Configuration; | ||
|
||
namespace Pidgin; | ||
|
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