Redpoint.Lexer 2025.1019.913

Prefix Reserved
dotnet add package Redpoint.Lexer --version 2025.1019.913                
NuGet\Install-Package Redpoint.Lexer -Version 2025.1019.913                
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.1019.913" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Redpoint.Lexer --version 2025.1019.913                
#r "nuget: Redpoint.Lexer, 2025.1019.913"                
#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=2025.1019.913

// Install Redpoint.Lexer as a Cake Tool
#tool nuget:?package=Redpoint.Lexer&version=2025.1019.913                

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. 
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.1019.913 35 1/19/2025
2025.1018.374 31 1/18/2025
2025.1018.285 27 1/18/2025
2025.1017.646 35 1/17/2025
2025.1017.379 40 1/17/2025
2025.1016.1370 37 1/16/2025
2025.1016.765 36 1/16/2025
2025.1016.712 33 1/16/2025
2025.1016.550 37 1/16/2025
2025.1016.541 34 1/16/2025
2025.1016.532 38 1/16/2025
2025.1016.325 32 1/16/2025
2025.1016.308 35 1/16/2025
2025.1016.296 33 1/16/2025
2025.1016.237 38 1/16/2025
2025.1016.184 33 1/16/2025
2025.1016.70 33 1/16/2025
2025.1016.6 35 1/16/2025
2025.1015.1438 36 1/16/2025
2025.1015.1437 37 1/16/2025
2025.1015.1411 34 1/15/2025
2025.1015.240 11 1/15/2025
2025.1015.223 11 1/15/2025
2025.1015.183 11 1/15/2025
2025.1014.1342 7 1/14/2025
2025.1014.273 27 1/14/2025
2025.1014.256 25 1/14/2025
2025.1012.440 34 1/12/2025
2025.1012.327 32 1/12/2025
2025.1012.279 29 1/12/2025
2025.1002.636 97 1/2/2025
2025.1001.1435 89 1/2/2025
2025.1001.1397 87 1/1/2025
2025.1001.770 94 1/1/2025
2025.1001.570 96 1/1/2025
2025.1001.558 88 1/1/2025
2025.1001.421 90 1/1/2025
2025.1001.390 90 1/1/2025
2025.1001.234 92 1/1/2025
2025.1001.123 91 1/1/2025
2024.1360.354 79 12/25/2024
2024.1360.60 85 12/25/2024
2024.1360.32 88 12/25/2024
2024.1358.450 83 12/23/2024
2024.1358.359 84 12/23/2024
2024.1358.312 75 12/23/2024
2024.1358.244 84 12/23/2024
2024.1358.120 77 12/23/2024
2024.1348.253 88 12/13/2024
2024.1345.1379 82 12/10/2024
2024.1345.506 82 12/10/2024
2024.1345.379 82 12/10/2024
2024.1345.145 75 12/10/2024
2024.1345.72 79 12/10/2024
2024.1345.69 76 12/10/2024
2024.1345.15 79 12/10/2024
2024.1344.1436 76 12/10/2024
2024.1344.600 87 12/9/2024
2024.1344.411 84 12/9/2024
2024.1340.379 92 12/5/2024
2024.1340.15 91 12/5/2024
2024.1338.786 85 12/3/2024
2024.1338.722 88 12/3/2024
2024.1338.697 86 12/3/2024
2024.1338.639 84 12/3/2024
2024.1338.541 86 12/3/2024
2024.1338.318 86 12/3/2024
2024.1338.298 81 12/3/2024
2024.1338.98 82 12/3/2024
2024.1337.756 86 12/2/2024
2024.1337.634 89 12/2/2024
2024.1337.625 91 12/2/2024
2024.1337.621 81 12/2/2024
2024.1337.594 78 12/2/2024
2024.1337.136 68 12/2/2024
2024.1336.793 93 12/1/2024
2024.1336.773 90 12/1/2024
2024.1336.305 85 12/1/2024
2024.1336.12 90 12/1/2024
2024.1335.1421 88 11/30/2024
2024.1335.1384 85 11/30/2024
2024.1334.1308 92 11/29/2024
2024.1334.764 83 11/29/2024
2024.1334.722 83 11/29/2024
2024.1330.185 95 11/25/2024
2024.1328.505 88 11/23/2024
2024.1328.470 94 11/23/2024
2024.1328.452 87 11/23/2024
2024.1323.910 84 11/18/2024
2024.1323.653 82 11/18/2024
2024.1323.185 79 11/18/2024
2024.1323.49 79 11/18/2024
2024.1322.714 86 11/17/2024
2024.1320.653 85 11/15/2024
2024.1320.619 81 11/15/2024
2024.1320.601 92 11/15/2024
2024.1320.159 83 11/15/2024
2024.1320.98 80 11/15/2024
2024.1320.2 80 11/15/2024
2024.1319.1431 82 11/15/2024
2024.1319.1335 86 11/14/2024
2024.1317.631 89 11/12/2024
2024.1316.330 96 11/11/2024
2024.1311.540 86 11/6/2024
2024.1306.225 85 11/1/2024
2024.1306.199 82 11/1/2024
2024.1306.171 87 11/1/2024
2024.1306.117 82 11/1/2024
2024.1305.506 86 10/31/2024
2024.1305.502 83 10/31/2024
2024.1305.465 80 10/31/2024
2024.1305.442 81 10/31/2024
2024.1305.399 83 10/31/2024
2024.1299.1070 79 10/25/2024
2024.1289.621 98 10/15/2024
2024.1289.338 91 10/15/2024
2024.1277.836 96 10/5/2024
2024.1277.711 103 10/3/2024
2024.1277.695 97 10/3/2024
2024.1270.409 97 9/26/2024
2024.1269.621 87 9/25/2024
2024.1269.619 88 9/25/2024
2024.1269.605 94 9/25/2024
2024.1242.282 110 8/29/2024
2024.1242.261 103 8/29/2024
2024.1242.233 103 8/29/2024
2024.1238.829 139 8/25/2024
2024.1238.327 132 8/25/2024
2024.1225.297 121 8/12/2024
2024.1205.140 108 7/23/2024
2024.1204.110 95 7/22/2024
2024.1204.62 99 7/22/2024
2024.1190.491 123 7/8/2024
2024.1177.305 107 6/25/2024
2024.1168.700 120 6/16/2024
2024.1168.649 119 6/16/2024
2024.1168.535 122 6/16/2024
2024.1167.643 127 6/15/2024
2024.1166.989 121 6/14/2024
2024.1166.818 111 6/14/2024
2024.1166.535 115 6/14/2024
2024.1166.422 110 6/14/2024
2024.1166.362 113 6/14/2024
2024.1166.360 112 6/14/2024
2024.1165.1212 112 6/13/2024
2024.1165.1160 114 6/13/2024
2024.1165.1019 96 6/13/2024
2024.1165.978 112 6/13/2024
2024.1165.920 95 6/13/2024
2024.1165.908 110 6/13/2024
2024.1165.873 96 6/13/2024
2024.1165.830 104 6/13/2024
2024.1165.806 104 6/13/2024
2024.1165.794 108 6/13/2024
2024.1165.792 108 6/13/2024
2024.1165.761 106 6/13/2024
2024.1165.743 108 6/13/2024
2024.1165.735 126 6/13/2024
2024.1165.713 101 6/13/2024
2024.1165.640 118 6/13/2024
2024.1165.574 109 6/13/2024
2024.1165.466 122 6/13/2024
2024.1165.417 120 6/13/2024
2024.1165.392 120 6/13/2024
2024.1164.341 123 6/12/2024
2024.1155.941 125 6/3/2024
2024.1140.783 127 5/19/2024
2024.1140.692 110 5/19/2024
2024.1140.673 135 5/19/2024
2024.1129.506 110 5/8/2024
2024.1128.831 133 5/7/2024
2024.1124.465 90 5/3/2024
2024.1123.1162 89 5/2/2024
2024.1123.1117 82 5/2/2024
2024.1123.1050 72 5/2/2024
2024.1122.352 114 5/1/2024
2024.1122.233 108 5/1/2024
2024.1115.1101 117 4/24/2024
2024.1115.1048 108 4/24/2024
2024.1115.932 126 4/24/2024
2024.1115.858 100 4/24/2024
2024.1115.665 127 4/24/2024
2024.1115.648 114 4/24/2024
2024.1115.591 118 4/24/2024
2024.1101.390 121 4/10/2024
2024.1100.741 117 4/9/2024
2024.1099.526 127 4/8/2024
2024.1099.466 114 4/8/2024
2024.1098.573 117 4/7/2024
2024.1095.977 139 4/4/2024
2024.1095.847 113 4/4/2024
2024.1095.604 121 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 147 4/3/2024
2024.1093.520 119 4/2/2024
2024.1092.240 130 4/1/2024
2024.1089.1425 126 3/29/2024
2024.1089.983 123 3/29/2024
2024.1089.942 120 3/29/2024
2024.1089.2 132 3/29/2024
2024.1088.1343 132 3/28/2024
2024.1088.1139 141 3/28/2024
2024.1088.875 116 3/28/2024
2024.1088.700 118 3/28/2024
2024.1088.603 117 3/28/2024
2024.1088.590 116 3/28/2024
2024.1088.575 128 3/28/2024
2024.1088.561 120 3/28/2024
2024.1088.506 123 3/28/2024
2024.1088.18 134 3/28/2024
2024.1087.1181 139 3/27/2024
2024.1087.1173 125 3/27/2024
2024.1087.1143 120 3/27/2024
2024.1087.1108 137 3/27/2024
2024.1087.950 116 3/27/2024
2024.1087.939 141 3/27/2024
2024.1087.252 118 3/27/2024
2024.1070.736 144 3/10/2024
2024.1049.1437 123 2/19/2024
2024.1036.571 125 2/5/2024
2024.1036.508 127 2/5/2024
2024.1032.1204 121 2/1/2024
2024.1032.1133 119 2/1/2024
2024.1032.1122 125 2/1/2024
2024.1032.1071 107 2/1/2024
2024.1032.940 117 2/1/2024
2024.1031.912 111 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 121 1/31/2024
2024.1031.318 109 1/31/2024
2024.1017.460 135 1/17/2024
2024.1017.420 119 1/17/2024
2024.1017.163 118 1/17/2024