Redpoint.Lexer 2025.1002.636

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

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

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 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
2025.1002.636 53 1/2/2025
2025.1001.1435 51 1/2/2025
2025.1001.1397 51 1/1/2025
2025.1001.770 57 1/1/2025
2025.1001.570 56 1/1/2025
2025.1001.558 53 1/1/2025
2025.1001.421 50 1/1/2025
2025.1001.390 51 1/1/2025
2025.1001.234 55 1/1/2025
2025.1001.123 53 1/1/2025
2024.1360.354 75 12/25/2024
2024.1360.60 78 12/25/2024
2024.1360.32 84 12/25/2024
2024.1358.450 79 12/23/2024
2024.1358.359 80 12/23/2024
2024.1358.312 69 12/23/2024
2024.1358.244 77 12/23/2024
2024.1358.120 69 12/23/2024
2024.1348.253 84 12/13/2024
2024.1345.1379 77 12/10/2024
2024.1345.506 80 12/10/2024
2024.1345.379 80 12/10/2024
2024.1345.145 73 12/10/2024
2024.1345.72 77 12/10/2024
2024.1345.69 74 12/10/2024
2024.1345.15 74 12/10/2024
2024.1344.1436 74 12/10/2024
2024.1344.600 85 12/9/2024
2024.1344.411 82 12/9/2024
2024.1340.379 88 12/5/2024
2024.1340.15 89 12/5/2024
2024.1338.786 83 12/3/2024
2024.1338.722 80 12/3/2024
2024.1338.697 84 12/3/2024
2024.1338.639 80 12/3/2024
2024.1338.541 84 12/3/2024
2024.1338.318 76 12/3/2024
2024.1338.298 79 12/3/2024
2024.1338.98 80 12/3/2024
2024.1337.756 84 12/2/2024
2024.1337.634 82 12/2/2024
2024.1337.625 86 12/2/2024
2024.1337.621 79 12/2/2024
2024.1337.594 76 12/2/2024
2024.1337.136 64 12/2/2024
2024.1336.793 88 12/1/2024
2024.1336.773 84 12/1/2024
2024.1336.305 83 12/1/2024
2024.1336.12 88 12/1/2024
2024.1335.1421 86 11/30/2024
2024.1335.1384 83 11/30/2024
2024.1334.1308 90 11/29/2024
2024.1334.764 77 11/29/2024
2024.1334.722 81 11/29/2024
2024.1330.185 91 11/25/2024
2024.1328.505 86 11/23/2024
2024.1328.470 92 11/23/2024
2024.1328.452 85 11/23/2024
2024.1323.910 80 11/18/2024
2024.1323.653 80 11/18/2024
2024.1323.185 77 11/18/2024
2024.1323.49 77 11/18/2024
2024.1322.714 84 11/17/2024
2024.1320.653 83 11/15/2024
2024.1320.619 79 11/15/2024
2024.1320.601 89 11/15/2024
2024.1320.159 80 11/15/2024
2024.1320.98 77 11/15/2024
2024.1320.2 76 11/15/2024
2024.1319.1431 76 11/15/2024
2024.1319.1335 83 11/14/2024
2024.1317.631 85 11/12/2024
2024.1316.330 94 11/11/2024
2024.1311.540 84 11/6/2024
2024.1306.225 81 11/1/2024
2024.1306.199 80 11/1/2024
2024.1306.171 85 11/1/2024
2024.1306.117 80 11/1/2024
2024.1305.506 84 10/31/2024
2024.1305.502 79 10/31/2024
2024.1305.465 78 10/31/2024
2024.1305.442 79 10/31/2024
2024.1305.399 79 10/31/2024
2024.1299.1070 77 10/25/2024
2024.1289.621 96 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 95 10/3/2024
2024.1270.409 97 9/26/2024
2024.1269.621 87 9/25/2024
2024.1269.619 86 9/25/2024
2024.1269.605 94 9/25/2024
2024.1242.282 108 8/29/2024
2024.1242.261 101 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 122 7/8/2024
2024.1177.305 106 6/25/2024
2024.1168.700 119 6/16/2024
2024.1168.649 118 6/16/2024
2024.1168.535 121 6/16/2024
2024.1167.643 126 6/15/2024
2024.1166.989 118 6/14/2024
2024.1166.818 108 6/14/2024
2024.1166.535 114 6/14/2024
2024.1166.422 109 6/14/2024
2024.1166.362 110 6/14/2024
2024.1166.360 111 6/14/2024
2024.1165.1212 111 6/13/2024
2024.1165.1160 111 6/13/2024
2024.1165.1019 93 6/13/2024
2024.1165.978 109 6/13/2024
2024.1165.920 94 6/13/2024
2024.1165.908 109 6/13/2024
2024.1165.873 95 6/13/2024
2024.1165.830 103 6/13/2024
2024.1165.806 103 6/13/2024
2024.1165.794 107 6/13/2024
2024.1165.792 107 6/13/2024
2024.1165.761 105 6/13/2024
2024.1165.743 107 6/13/2024
2024.1165.735 125 6/13/2024
2024.1165.713 100 6/13/2024
2024.1165.640 117 6/13/2024
2024.1165.574 108 6/13/2024
2024.1165.466 119 6/13/2024
2024.1165.417 119 6/13/2024
2024.1165.392 119 6/13/2024
2024.1164.341 120 6/12/2024
2024.1155.941 124 6/3/2024
2024.1140.783 126 5/19/2024
2024.1140.692 107 5/19/2024
2024.1140.673 134 5/19/2024
2024.1129.506 107 5/8/2024
2024.1128.831 130 5/7/2024
2024.1124.465 89 5/3/2024
2024.1123.1162 88 5/2/2024
2024.1123.1117 81 5/2/2024
2024.1123.1050 71 5/2/2024
2024.1122.352 113 5/1/2024
2024.1122.233 105 5/1/2024
2024.1115.1101 116 4/24/2024
2024.1115.1048 107 4/24/2024
2024.1115.932 123 4/24/2024
2024.1115.858 99 4/24/2024
2024.1115.665 126 4/24/2024
2024.1115.648 113 4/24/2024
2024.1115.591 117 4/24/2024
2024.1101.390 120 4/10/2024
2024.1100.741 116 4/9/2024
2024.1099.526 124 4/8/2024
2024.1099.466 113 4/8/2024
2024.1098.573 114 4/7/2024
2024.1095.977 138 4/4/2024
2024.1095.847 112 4/4/2024
2024.1095.604 118 4/4/2024
2024.1095.485 116 4/4/2024
2024.1094.930 121 4/3/2024
2024.1094.910 114 4/3/2024
2024.1094.387 123 4/3/2024
2024.1094.313 144 4/3/2024
2024.1093.520 118 4/2/2024
2024.1092.240 129 4/1/2024
2024.1089.1425 125 3/29/2024
2024.1089.983 122 3/29/2024
2024.1089.942 119 3/29/2024
2024.1089.2 131 3/29/2024
2024.1088.1343 129 3/28/2024
2024.1088.1139 140 3/28/2024
2024.1088.875 115 3/28/2024
2024.1088.700 115 3/28/2024
2024.1088.603 116 3/28/2024
2024.1088.590 115 3/28/2024
2024.1088.575 127 3/28/2024
2024.1088.561 119 3/28/2024
2024.1088.506 122 3/28/2024
2024.1088.18 133 3/28/2024
2024.1087.1181 138 3/27/2024
2024.1087.1173 124 3/27/2024
2024.1087.1143 119 3/27/2024
2024.1087.1108 136 3/27/2024
2024.1087.950 115 3/27/2024
2024.1087.939 140 3/27/2024
2024.1087.252 117 3/27/2024
2024.1070.736 143 3/10/2024
2024.1049.1437 122 2/19/2024
2024.1036.571 124 2/5/2024
2024.1036.508 126 2/5/2024
2024.1032.1204 120 2/1/2024
2024.1032.1133 118 2/1/2024
2024.1032.1122 124 2/1/2024
2024.1032.1071 106 2/1/2024
2024.1032.940 116 2/1/2024
2024.1031.912 110 1/31/2024
2024.1031.893 111 1/31/2024
2024.1031.851 117 1/31/2024
2024.1031.829 98 1/31/2024
2024.1031.386 120 1/31/2024
2024.1031.318 108 1/31/2024
2024.1017.460 134 1/17/2024
2024.1017.420 118 1/17/2024
2024.1017.163 117 1/17/2024