Redpoint.Lexer
2024.1360.32
Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Redpoint.Lexer --version 2024.1360.32
NuGet\Install-Package Redpoint.Lexer -Version 2024.1360.32
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Redpoint.Lexer" Version="2024.1360.32" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Redpoint.Lexer --version 2024.1360.32
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Redpoint.Lexer, 2024.1360.32"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Redpoint.Lexer as a Cake Addin #addin nuget:?package=Redpoint.Lexer&version=2024.1360.32 // Install Redpoint.Lexer as a Cake Tool #tool nuget:?package=Redpoint.Lexer&version=2024.1360.32
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Redpoint.Lexer
A zero-allocation, span-based lexing library for C#. You should also install Redpoint.Lexer.SourceGenerator
.
This library is experimental. To declare lexing methods, create a partial class with partial methods like this:
public partial class TestLexer
{
[LexerTokenizer("test")]
public static partial ReadOnlySpan<char> ConsumeTest(ref ReadOnlySpan<char> span, ref LexerCursor cursor);
[PermitNewlineContinuations]
[LexerTokenizer("test")]
public static partial LexerFragment ConsumeTestWithNewlines(ref ReadOnlySpan<char> span, ref LexerCursor cursor);
[LexerTokenizer("[a-zA-Z_][a-zA-Z0-9_]*")]
public static partial ReadOnlySpan<char> ConsumeWord(ref ReadOnlySpan<char> span, ref LexerCursor cursor);
[PermitNewlineContinuations]
[LexerTokenizer("[a-zA-Z_][a-zA-Z0-9_]*")]
public static partial LexerFragment ConsumeWordWithNewlines(ref ReadOnlySpan<char> span, ref LexerCursor cursor);
[LexerTokenizer("hello[0-9]wo[0-9]+rld[0-9]*done")]
public static partial ReadOnlySpan<char> ConsumeAdvanced(ref ReadOnlySpan<char> span, ref LexerCursor cursor);
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Redpoint.Lexer:
Package | Downloads |
---|---|
Redpoint.CppPreprocessor
Provides performant APIs for lexing and parsing preprocessor directives from C/C++ files. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
2024.1360.354 | 36 | 12/25/2024 |
2024.1360.60 | 33 | 12/25/2024 |
2024.1360.32 | 38 | 12/25/2024 |
2024.1358.450 | 71 | 12/23/2024 |
2024.1358.359 | 72 | 12/23/2024 |
2024.1358.312 | 61 | 12/23/2024 |
2024.1358.244 | 69 | 12/23/2024 |
2024.1358.120 | 61 | 12/23/2024 |
2024.1348.253 | 76 | 12/13/2024 |
2024.1345.1379 | 69 | 12/10/2024 |
2024.1345.506 | 72 | 12/10/2024 |
2024.1345.379 | 72 | 12/10/2024 |
2024.1345.145 | 65 | 12/10/2024 |
2024.1345.72 | 69 | 12/10/2024 |
2024.1345.69 | 66 | 12/10/2024 |
2024.1345.15 | 66 | 12/10/2024 |
2024.1344.1436 | 66 | 12/10/2024 |
2024.1344.600 | 78 | 12/9/2024 |
2024.1344.411 | 74 | 12/9/2024 |
2024.1340.379 | 80 | 12/5/2024 |
2024.1340.15 | 79 | 12/5/2024 |
2024.1338.786 | 75 | 12/3/2024 |
2024.1338.722 | 72 | 12/3/2024 |
2024.1338.697 | 74 | 12/3/2024 |
2024.1338.639 | 72 | 12/3/2024 |
2024.1338.541 | 74 | 12/3/2024 |
2024.1338.318 | 68 | 12/3/2024 |
2024.1338.298 | 71 | 12/3/2024 |
2024.1338.98 | 72 | 12/3/2024 |
2024.1337.756 | 76 | 12/2/2024 |
2024.1337.634 | 74 | 12/2/2024 |
2024.1337.625 | 70 | 12/2/2024 |
2024.1337.621 | 71 | 12/2/2024 |
2024.1337.594 | 68 | 12/2/2024 |
2024.1337.136 | 56 | 12/2/2024 |
2024.1336.793 | 80 | 12/1/2024 |
2024.1336.773 | 76 | 12/1/2024 |
2024.1336.305 | 75 | 12/1/2024 |
2024.1336.12 | 78 | 12/1/2024 |
2024.1335.1421 | 78 | 11/30/2024 |
2024.1335.1384 | 76 | 11/30/2024 |
2024.1334.1308 | 83 | 11/29/2024 |
2024.1334.764 | 72 | 11/29/2024 |
2024.1334.722 | 76 | 11/29/2024 |
2024.1330.185 | 83 | 11/25/2024 |
2024.1328.505 | 78 | 11/23/2024 |
2024.1328.470 | 82 | 11/23/2024 |
2024.1328.452 | 77 | 11/23/2024 |
2024.1323.910 | 75 | 11/18/2024 |
2024.1323.653 | 75 | 11/18/2024 |
2024.1323.185 | 72 | 11/18/2024 |
2024.1323.49 | 71 | 11/18/2024 |
2024.1322.714 | 79 | 11/17/2024 |
2024.1320.653 | 76 | 11/15/2024 |
2024.1320.619 | 69 | 11/15/2024 |
2024.1320.601 | 84 | 11/15/2024 |
2024.1320.159 | 75 | 11/15/2024 |
2024.1320.98 | 72 | 11/15/2024 |
2024.1320.2 | 66 | 11/15/2024 |
2024.1319.1431 | 71 | 11/15/2024 |
2024.1319.1335 | 77 | 11/14/2024 |
2024.1317.631 | 78 | 11/12/2024 |
2024.1316.330 | 85 | 11/11/2024 |
2024.1311.540 | 76 | 11/6/2024 |
2024.1306.225 | 75 | 11/1/2024 |
2024.1306.199 | 73 | 11/1/2024 |
2024.1306.171 | 78 | 11/1/2024 |
2024.1306.117 | 75 | 11/1/2024 |
2024.1305.506 | 74 | 10/31/2024 |
2024.1305.502 | 71 | 10/31/2024 |
2024.1305.465 | 68 | 10/31/2024 |
2024.1305.442 | 71 | 10/31/2024 |
2024.1305.399 | 71 | 10/31/2024 |
2024.1299.1070 | 72 | 10/25/2024 |
2024.1289.621 | 91 | 10/15/2024 |
2024.1289.338 | 86 | 10/15/2024 |
2024.1277.836 | 90 | 10/5/2024 |
2024.1277.711 | 96 | 10/3/2024 |
2024.1277.695 | 91 | 10/3/2024 |
2024.1270.409 | 93 | 9/26/2024 |
2024.1269.621 | 83 | 9/25/2024 |
2024.1269.619 | 82 | 9/25/2024 |
2024.1269.605 | 90 | 9/25/2024 |
2024.1242.282 | 104 | 8/29/2024 |
2024.1242.261 | 97 | 8/29/2024 |
2024.1242.233 | 97 | 8/29/2024 |
2024.1238.829 | 132 | 8/25/2024 |
2024.1238.327 | 128 | 8/25/2024 |
2024.1225.297 | 117 | 8/12/2024 |
2024.1205.140 | 104 | 7/23/2024 |
2024.1204.110 | 91 | 7/22/2024 |
2024.1204.62 | 95 | 7/22/2024 |
2024.1190.491 | 116 | 7/8/2024 |
2024.1177.305 | 102 | 6/25/2024 |
2024.1168.700 | 115 | 6/16/2024 |
2024.1168.649 | 114 | 6/16/2024 |
2024.1168.535 | 117 | 6/16/2024 |
2024.1167.643 | 122 | 6/15/2024 |
2024.1166.989 | 114 | 6/14/2024 |
2024.1166.818 | 104 | 6/14/2024 |
2024.1166.535 | 110 | 6/14/2024 |
2024.1166.422 | 103 | 6/14/2024 |
2024.1166.362 | 106 | 6/14/2024 |
2024.1166.360 | 107 | 6/14/2024 |
2024.1165.1212 | 107 | 6/13/2024 |
2024.1165.1160 | 107 | 6/13/2024 |
2024.1165.1019 | 89 | 6/13/2024 |
2024.1165.978 | 105 | 6/13/2024 |
2024.1165.920 | 90 | 6/13/2024 |
2024.1165.908 | 105 | 6/13/2024 |
2024.1165.873 | 91 | 6/13/2024 |
2024.1165.830 | 99 | 6/13/2024 |
2024.1165.806 | 99 | 6/13/2024 |
2024.1165.794 | 101 | 6/13/2024 |
2024.1165.792 | 103 | 6/13/2024 |
2024.1165.761 | 101 | 6/13/2024 |
2024.1165.743 | 103 | 6/13/2024 |
2024.1165.735 | 119 | 6/13/2024 |
2024.1165.713 | 96 | 6/13/2024 |
2024.1165.640 | 113 | 6/13/2024 |
2024.1165.574 | 104 | 6/13/2024 |
2024.1165.466 | 115 | 6/13/2024 |
2024.1165.417 | 115 | 6/13/2024 |
2024.1165.392 | 114 | 6/13/2024 |
2024.1164.341 | 116 | 6/12/2024 |
2024.1155.941 | 120 | 6/3/2024 |
2024.1140.783 | 122 | 5/19/2024 |
2024.1140.692 | 103 | 5/19/2024 |
2024.1140.673 | 130 | 5/19/2024 |
2024.1129.506 | 103 | 5/8/2024 |
2024.1128.831 | 126 | 5/7/2024 |
2024.1124.465 | 85 | 5/3/2024 |
2024.1123.1162 | 84 | 5/2/2024 |
2024.1123.1117 | 77 | 5/2/2024 |
2024.1123.1050 | 65 | 5/2/2024 |
2024.1122.352 | 109 | 5/1/2024 |
2024.1122.233 | 101 | 5/1/2024 |
2024.1115.1101 | 112 | 4/24/2024 |
2024.1115.1048 | 103 | 4/24/2024 |
2024.1115.932 | 119 | 4/24/2024 |
2024.1115.858 | 95 | 4/24/2024 |
2024.1115.665 | 122 | 4/24/2024 |
2024.1115.648 | 107 | 4/24/2024 |
2024.1115.591 | 112 | 4/24/2024 |
2024.1101.390 | 114 | 4/10/2024 |
2024.1100.741 | 112 | 4/9/2024 |
2024.1099.526 | 120 | 4/8/2024 |
2024.1099.466 | 109 | 4/8/2024 |
2024.1098.573 | 110 | 4/7/2024 |
2024.1095.977 | 133 | 4/4/2024 |
2024.1095.847 | 108 | 4/4/2024 |
2024.1095.604 | 114 | 4/4/2024 |
2024.1095.485 | 112 | 4/4/2024 |
2024.1094.930 | 117 | 4/3/2024 |
2024.1094.910 | 110 | 4/3/2024 |
2024.1094.387 | 119 | 4/3/2024 |
2024.1094.313 | 140 | 4/3/2024 |
2024.1093.520 | 114 | 4/2/2024 |
2024.1092.240 | 125 | 4/1/2024 |
2024.1089.1425 | 121 | 3/29/2024 |
2024.1089.983 | 116 | 3/29/2024 |
2024.1089.942 | 113 | 3/29/2024 |
2024.1089.2 | 127 | 3/29/2024 |
2024.1088.1343 | 125 | 3/28/2024 |
2024.1088.1139 | 134 | 3/28/2024 |
2024.1088.875 | 109 | 3/28/2024 |
2024.1088.700 | 111 | 3/28/2024 |
2024.1088.603 | 112 | 3/28/2024 |
2024.1088.590 | 111 | 3/28/2024 |
2024.1088.575 | 123 | 3/28/2024 |
2024.1088.561 | 115 | 3/28/2024 |
2024.1088.506 | 116 | 3/28/2024 |
2024.1088.18 | 127 | 3/28/2024 |
2024.1087.1181 | 134 | 3/27/2024 |
2024.1087.1173 | 120 | 3/27/2024 |
2024.1087.1143 | 115 | 3/27/2024 |
2024.1087.1108 | 132 | 3/27/2024 |
2024.1087.950 | 111 | 3/27/2024 |
2024.1087.939 | 136 | 3/27/2024 |
2024.1087.252 | 113 | 3/27/2024 |
2024.1070.736 | 139 | 3/10/2024 |
2024.1049.1437 | 118 | 2/19/2024 |
2024.1036.571 | 120 | 2/5/2024 |
2024.1036.508 | 122 | 2/5/2024 |
2024.1032.1204 | 116 | 2/1/2024 |
2024.1032.1133 | 114 | 2/1/2024 |
2024.1032.1122 | 120 | 2/1/2024 |
2024.1032.1071 | 102 | 2/1/2024 |
2024.1032.940 | 112 | 2/1/2024 |
2024.1031.912 | 106 | 1/31/2024 |
2024.1031.893 | 107 | 1/31/2024 |
2024.1031.851 | 113 | 1/31/2024 |
2024.1031.829 | 94 | 1/31/2024 |
2024.1031.386 | 116 | 1/31/2024 |
2024.1031.318 | 104 | 1/31/2024 |
2024.1017.460 | 130 | 1/17/2024 |
2024.1017.420 | 114 | 1/17/2024 |
2024.1017.163 | 113 | 1/17/2024 |