Redpoint.Lexer
2026.1240.337
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 2026.1240.337
NuGet\Install-Package Redpoint.Lexer -Version 2026.1240.337
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="2026.1240.337" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Redpoint.Lexer" Version="2026.1240.337" />
<PackageReference Include="Redpoint.Lexer" />
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 2026.1240.337
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Redpoint.Lexer, 2026.1240.337"
#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.
#:package Redpoint.Lexer@2026.1240.337
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Redpoint.Lexer&version=2026.1240.337
#tool nuget:?package=Redpoint.Lexer&version=2026.1240.337
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 | net10.0 is compatible. 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.
-
net10.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 |
|---|---|---|
| 2026.1259.914 | 0 | 9/16/2026 |
| 2026.1259.871 | 0 | 9/16/2026 |
| 2026.1259.851 | 0 | 9/16/2026 |
| 2026.1259.716 | 0 | 9/16/2026 |
| 2026.1259.677 | 0 | 9/16/2026 |
| 2026.1257.763 | 53 | 9/14/2026 |
| 2026.1257.741 | 57 | 9/14/2026 |
| 2026.1257.611 | 50 | 9/14/2026 |
| 2026.1257.606 | 54 | 9/14/2026 |
| 2026.1254.463 | 64 | 9/11/2026 |
| 2026.1253.413 | 81 | 9/10/2026 |
| 2026.1253.351 | 70 | 9/10/2026 |
| 2026.1253.309 | 77 | 9/10/2026 |
| 2026.1253.296 | 62 | 9/10/2026 |
| 2026.1253.294 | 67 | 9/10/2026 |
| 2026.1253.293 | 68 | 9/10/2026 |
| 2026.1252.1055 | 72 | 9/9/2026 |
| 2026.1252.751 | 70 | 9/9/2026 |
| 2026.1252.567 | 88 | 9/9/2026 |
| 2026.1240.337 | 109 | 8/28/2026 |
Loading failed