Redpoint.Lexer 2025.1119.409

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Redpoint.Lexer --version 2025.1119.409
                    
NuGet\Install-Package Redpoint.Lexer -Version 2025.1119.409
                    
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="2025.1119.409" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Redpoint.Lexer" Version="2025.1119.409" />
                    
Directory.Packages.props
<PackageReference Include="Redpoint.Lexer" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Redpoint.Lexer --version 2025.1119.409
                    
#r "nuget: Redpoint.Lexer, 2025.1119.409"
                    
#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.
#addin nuget:?package=Redpoint.Lexer&version=2025.1119.409
                    
Install Redpoint.Lexer as a Cake Addin
#tool nuget:?package=Redpoint.Lexer&version=2025.1119.409
                    
Install Redpoint.Lexer as a Cake Tool

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 Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net9.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
2025.1140.383 48 5/20/2025
2025.1140.377 51 5/20/2025
2025.1139.983 48 5/19/2025
2025.1139.952 51 5/19/2025
2025.1139.941 47 5/19/2025
2025.1139.855 47 5/19/2025
2025.1139.850 49 5/19/2025
2025.1139.837 50 5/19/2025
2025.1139.811 51 5/19/2025
2025.1139.806 49 5/19/2025
2025.1139.796 53 5/19/2025
2025.1139.729 49 5/19/2025
2025.1139.719 52 5/19/2025
2025.1139.706 51 5/19/2025
2025.1139.694 50 5/19/2025
2025.1139.679 51 5/19/2025
2025.1139.662 51 5/19/2025
2025.1139.638 51 5/19/2025
2025.1139.628 49 5/19/2025
2025.1139.626 53 5/19/2025
2025.1139.619 54 5/19/2025
2025.1139.605 52 5/19/2025
2025.1139.600 51 5/19/2025
2025.1139.583 50 5/19/2025
2025.1139.573 48 5/19/2025
2025.1139.564 49 5/19/2025
2025.1139.552 51 5/19/2025
2025.1139.543 50 5/19/2025
2025.1138.909 50 5/18/2025
2025.1136.150 193 5/16/2025
2025.1135.267 203 5/15/2025
2025.1135.143 204 5/15/2025
2025.1133.453 206 5/13/2025
2025.1133.351 209 5/13/2025
2025.1133.349 209 5/13/2025
2025.1133.347 206 5/13/2025
2025.1130.236 49 5/10/2025
2025.1129.831 83 5/9/2025
2025.1129.346 108 5/9/2025
2025.1129.345 107 5/9/2025
2025.1121.1370 125 5/1/2025
2025.1119.450 126 4/29/2025
2025.1119.436 123 4/29/2025
2025.1119.409 131 4/29/2025
2025.1119.388 126 4/29/2025
2025.1119.360 121 4/29/2025
2025.1119.328 148 4/29/2025
2025.1119.299 132 4/29/2025
2025.1119.287 141 4/29/2025
2025.1116.868 52 4/26/2025
2025.1116.841 55 4/26/2025
2025.1116.444 55 4/26/2025
2025.1115.498 107 4/25/2025
2025.1115.491 102 4/25/2025
2025.1100.365 162 4/10/2025
2025.1100.336 156 4/10/2025
2025.1100.331 162 4/10/2025
2025.1098.108 139 4/8/2025
2025.1093.291 151 4/3/2025
2025.1091.38 137 4/1/2025
2025.1091.26 138 4/1/2025
2025.1090.237 142 3/31/2025
2025.1089.1386 137 3/30/2025
2025.1083.515 393 3/24/2025
2025.1083.408 323 3/24/2025
2025.1083.398 323 3/24/2025
2025.1083.125 325 3/24/2025
2025.1080.41 132 3/21/2025
2025.1075.357 122 3/16/2025
2025.1073.332 118 3/14/2025
2025.1072.541 138 3/13/2025
2025.1072.536 132 3/13/2025
2025.1064.602 205 3/5/2025
2025.1064.546 206 3/5/2025
2025.1062.589 140 3/3/2025
2025.1061.513 88 3/2/2025
2025.1060.490 86 3/1/2025
2025.1059.134 94 2/28/2025
2025.1057.1020 98 2/26/2025
2025.1056.584 89 2/25/2025
2025.1050.282 99 2/19/2025
2025.1050.232 99 2/19/2025
2025.1049.55 91 2/18/2025
2025.1045.285 86 2/14/2025
2025.1043.288 99 2/12/2025
2025.1043.246 98 2/12/2025
2025.1043.197 93 2/12/2025
2025.1043.180 98 2/12/2025
2025.1043.108 92 2/12/2025
2025.1043.38 90 2/12/2025
2025.1043.27 92 2/12/2025
2025.1042.725 96 2/11/2025
2025.1042.690 94 2/11/2025
2025.1042.688 91 2/11/2025
2025.1042.418 94 2/11/2025
2025.1042.215 89 2/11/2025
2025.1042.203 94 2/11/2025
2025.1042.184 92 2/11/2025
2025.1042.142 98 2/11/2025
2025.1042.127 92 2/11/2025
2025.1037.1327 87 2/6/2025
2025.1036.280 89 2/5/2025
2025.1036.55 90 2/5/2025
2025.1035.1387 96 2/4/2025
2025.1031.111 88 1/31/2025
2025.1030.916 96 1/30/2025
2025.1030.895 82 1/30/2025
2025.1030.592 89 1/30/2025
2025.1029.664 79 1/29/2025
2025.1029.632 77 1/29/2025
2025.1029.596 85 1/29/2025
2025.1028.386 93 1/28/2025
2025.1025.723 84 1/25/2025
2025.1025.712 86 1/25/2025
2025.1019.913 86 1/19/2025
2025.1018.374 76 1/18/2025
2025.1018.285 79 1/18/2025
2025.1017.646 88 1/17/2025
2025.1017.379 88 1/17/2025
2025.1016.1370 80 1/16/2025
2025.1016.765 76 1/16/2025
2025.1016.712 75 1/16/2025
2025.1016.550 79 1/16/2025
2025.1016.541 80 1/16/2025
2025.1016.532 82 1/16/2025
2025.1016.325 74 1/16/2025
2025.1016.308 78 1/16/2025
2025.1016.296 78 1/16/2025
2025.1016.237 82 1/16/2025
2025.1016.184 79 1/16/2025
2025.1016.70 75 1/16/2025
2025.1016.6 75 1/16/2025
2025.1015.1438 77 1/16/2025
2025.1015.1437 80 1/16/2025
2025.1015.1411 81 1/15/2025
2025.1015.240 54 1/15/2025
2025.1015.223 54 1/15/2025
2025.1015.183 63 1/15/2025
2025.1014.1342 65 1/14/2025
2025.1014.273 66 1/14/2025
2025.1014.256 66 1/14/2025
2025.1012.440 71 1/12/2025
2025.1012.327 67 1/12/2025
2025.1012.279 64 1/12/2025
2025.1002.636 111 1/2/2025
2025.1001.1435 102 1/2/2025
2025.1001.1397 100 1/1/2025
2025.1001.770 112 1/1/2025
2025.1001.570 109 1/1/2025
2025.1001.558 101 1/1/2025
2025.1001.421 101 1/1/2025
2025.1001.390 102 1/1/2025
2025.1001.234 104 1/1/2025
2025.1001.123 103 1/1/2025
2024.1360.354 95 12/25/2024
2024.1360.60 101 12/25/2024
2024.1360.32 99 12/25/2024
2024.1358.450 94 12/23/2024
2024.1358.359 94 12/23/2024
2024.1358.312 86 12/23/2024
2024.1358.244 96 12/23/2024
2024.1358.120 87 12/23/2024
2024.1348.253 109 12/13/2024
2024.1345.1379 92 12/10/2024
2024.1345.506 92 12/10/2024
2024.1345.379 92 12/10/2024
2024.1345.145 85 12/10/2024
2024.1345.72 88 12/10/2024
2024.1345.69 87 12/10/2024
2024.1345.15 89 12/10/2024
2024.1344.1436 86 12/10/2024
2024.1344.600 99 12/9/2024
2024.1344.411 96 12/9/2024
2024.1340.379 100 12/5/2024
2024.1340.15 98 12/5/2024
2024.1338.786 95 12/3/2024
2024.1338.722 95 12/3/2024
2024.1338.697 93 12/3/2024
2024.1338.639 91 12/3/2024
2024.1338.541 93 12/3/2024
2024.1338.318 93 12/3/2024
2024.1338.298 88 12/3/2024
2024.1338.98 90 12/3/2024
2024.1337.756 94 12/2/2024
2024.1337.634 98 12/2/2024
2024.1337.625 101 12/2/2024
2024.1337.621 89 12/2/2024
2024.1337.594 87 12/2/2024
2024.1337.136 76 12/2/2024
2024.1336.793 101 12/1/2024
2024.1336.773 99 12/1/2024
2024.1336.305 95 12/1/2024
2024.1336.12 97 12/1/2024
2024.1335.1421 95 11/30/2024
2024.1335.1384 100 11/30/2024
2024.1334.1308 100 11/29/2024
2024.1334.764 91 11/29/2024
2024.1334.722 90 11/29/2024
2024.1330.185 102 11/25/2024
2024.1328.505 99 11/23/2024
2024.1328.470 101 11/23/2024
2024.1328.452 97 11/23/2024
2024.1323.910 90 11/18/2024
2024.1323.653 89 11/18/2024
2024.1323.185 85 11/18/2024
2024.1323.49 86 11/18/2024
2024.1322.714 92 11/17/2024
2024.1320.653 91 11/15/2024
2024.1320.619 88 11/15/2024
2024.1320.601 100 11/15/2024
2024.1320.159 88 11/15/2024
2024.1320.98 87 11/15/2024
2024.1320.2 85 11/15/2024
2024.1319.1431 87 11/15/2024
2024.1319.1335 92 11/14/2024
2024.1317.631 95 11/12/2024
2024.1316.330 102 11/11/2024
2024.1311.540 91 11/6/2024
2024.1306.225 94 11/1/2024
2024.1306.199 90 11/1/2024
2024.1306.171 94 11/1/2024
2024.1306.117 94 11/1/2024
2024.1305.506 93 10/31/2024
2024.1305.502 90 10/31/2024
2024.1305.465 87 10/31/2024
2024.1305.442 89 10/31/2024
2024.1305.399 91 10/31/2024
2024.1299.1070 86 10/25/2024
2024.1289.621 102 10/15/2024
2024.1289.338 94 10/15/2024
2024.1277.836 99 10/5/2024
2024.1277.711 106 10/3/2024
2024.1277.695 101 10/3/2024
2024.1270.409 102 9/26/2024
2024.1269.621 94 9/25/2024
2024.1269.619 93 9/25/2024
2024.1269.605 98 9/25/2024
2024.1242.282 111 8/29/2024
2024.1242.261 105 8/29/2024
2024.1242.233 105 8/29/2024
2024.1238.829 141 8/25/2024
2024.1238.327 136 8/25/2024
2024.1225.297 122 8/12/2024
2024.1205.140 110 7/23/2024
2024.1204.110 99 7/22/2024
2024.1204.62 106 7/22/2024
2024.1190.491 124 7/8/2024
2024.1177.305 109 6/25/2024
2024.1168.700 122 6/16/2024
2024.1168.649 120 6/16/2024
2024.1168.535 122 6/16/2024
2024.1167.643 128 6/15/2024
2024.1166.989 122 6/14/2024
2024.1166.818 111 6/14/2024
2024.1166.535 115 6/14/2024
2024.1166.422 111 6/14/2024
2024.1166.362 113 6/14/2024
2024.1166.360 112 6/14/2024
2024.1165.1212 115 6/13/2024
2024.1165.1160 116 6/13/2024
2024.1165.1019 96 6/13/2024
2024.1165.978 119 6/13/2024
2024.1165.920 95 6/13/2024
2024.1165.908 111 6/13/2024
2024.1165.873 97 6/13/2024
2024.1165.830 106 6/13/2024
2024.1165.806 108 6/13/2024
2024.1165.794 110 6/13/2024
2024.1165.792 109 6/13/2024
2024.1165.761 107 6/13/2024
2024.1165.743 110 6/13/2024
2024.1165.735 126 6/13/2024
2024.1165.713 103 6/13/2024
2024.1165.640 120 6/13/2024
2024.1165.574 110 6/13/2024
2024.1165.466 122 6/13/2024
2024.1165.417 121 6/13/2024
2024.1165.392 121 6/13/2024
2024.1164.341 123 6/12/2024
2024.1155.941 126 6/3/2024
2024.1140.783 129 5/19/2024
2024.1140.692 110 5/19/2024
2024.1140.673 135 5/19/2024
2024.1129.506 112 5/8/2024
2024.1128.831 135 5/7/2024
2024.1124.465 94 5/3/2024
2024.1123.1162 94 5/2/2024
2024.1123.1117 88 5/2/2024
2024.1123.1050 83 5/2/2024
2024.1122.352 118 5/1/2024
2024.1122.233 112 5/1/2024
2024.1115.1101 118 4/24/2024
2024.1115.1048 112 4/24/2024
2024.1115.932 130 4/24/2024
2024.1115.858 105 4/24/2024
2024.1115.665 128 4/24/2024
2024.1115.648 115 4/24/2024
2024.1115.591 122 4/24/2024
2024.1101.390 124 4/10/2024
2024.1100.741 123 4/9/2024
2024.1099.526 128 4/8/2024
2024.1099.466 116 4/8/2024
2024.1098.573 118 4/7/2024
2024.1095.977 141 4/4/2024
2024.1095.847 114 4/4/2024
2024.1095.604 122 4/4/2024
2024.1095.485 117 4/4/2024
2024.1094.930 124 4/3/2024
2024.1094.910 117 4/3/2024
2024.1094.387 124 4/3/2024
2024.1094.313 148 4/3/2024
2024.1093.520 120 4/2/2024
2024.1092.240 131 4/1/2024
2024.1089.1425 129 3/29/2024
2024.1089.983 125 3/29/2024
2024.1089.942 123 3/29/2024
2024.1089.2 136 3/29/2024
2024.1088.1343 134 3/28/2024
2024.1088.1139 143 3/28/2024
2024.1088.875 118 3/28/2024
2024.1088.700 119 3/28/2024
2024.1088.603 119 3/28/2024
2024.1088.590 120 3/28/2024
2024.1088.575 131 3/28/2024
2024.1088.561 123 3/28/2024
2024.1088.506 124 3/28/2024
2024.1088.18 135 3/28/2024
2024.1087.1181 141 3/27/2024
2024.1087.1173 127 3/27/2024
2024.1087.1143 122 3/27/2024
2024.1087.1108 138 3/27/2024
2024.1087.950 118 3/27/2024
2024.1087.939 145 3/27/2024
2024.1087.252 120 3/27/2024
2024.1070.736 146 3/10/2024
2024.1049.1437 128 2/19/2024
2024.1036.571 125 2/5/2024
2024.1036.508 129 2/5/2024
2024.1032.1204 122 2/1/2024
2024.1032.1133 120 2/1/2024
2024.1032.1122 126 2/1/2024
2024.1032.1071 108 2/1/2024
2024.1032.940 118 2/1/2024
2024.1031.912 112 1/31/2024
2024.1031.893 112 1/31/2024
2024.1031.851 118 1/31/2024
2024.1031.829 99 1/31/2024
2024.1031.386 124 1/31/2024
2024.1031.318 109 1/31/2024
2024.1017.460 135 1/17/2024
2024.1017.420 120 1/17/2024
2024.1017.163 118 1/17/2024