Jammo.ParserTools
1.2.1
This library was hastily patched together without any thought for scalability. Use the remade version instead.
See the version list below for details.
dotnet add package Jammo.ParserTools --version 1.2.1
NuGet\Install-Package Jammo.ParserTools -Version 1.2.1
<PackageReference Include="Jammo.ParserTools" Version="1.2.1" />
<PackageVersion Include="Jammo.ParserTools" Version="1.2.1" />
<PackageReference Include="Jammo.ParserTools" />
paket add Jammo.ParserTools --version 1.2.1
#r "nuget: Jammo.ParserTools, 1.2.1"
#:package Jammo.ParserTools@1.2.1
#addin nuget:?package=Jammo.ParserTools&version=1.2.1
#tool nuget:?package=Jammo.ParserTools&version=1.2.1
Jammo.ParserTools
Nuget: https://www.nuget.org/packages/Jammo.ParserTools/
A library of tools I frequently use when parsing text
Tokenizer
Constructors:
Tokenizer: (new) Tokenizer(input, [options]), IEnumerable<BasicToken>: Tokenizer.Tokenize(input, [options])
A take on IEnumerable which allows for manual .Next calls (moves the iterator forward) The tokenizer class provides BasicToken(s) based on input data
Lexer
Constructors:
Lexer: (new) Lexer(tokenizer), IEnumerable<LexerToken> Lexer.Lex(input, [tokenizer-options])
Provides a basic enum based wrapper for tokenization.
StateMachine
Constructors:
StateMachine: (new) StateMachine<Enum>()
IParserStream
Meant to be used alongside a parser to wrap a FileStream for easy Read/Write using fields. Exposes IsInitialized, FilePath, Parse, Write, and WriteTo.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. 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. net9.0 was computed. 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. |
| .NET Core | netcoreapp3.1 is compatible. |
-
.NETCoreApp 3.1
- No dependencies.
NuGet packages (4)
Showing the top 4 NuGet packages that depend on Jammo.ParserTools:
| Package | Downloads |
|---|---|
|
SettingsConfig
Basic library for storing settings |
|
|
Jammo.TextAnalysis
A package meant for analysis of multiple programming languages and file extensions. |
|
|
YASF
Library for parsing settings in an easy to use format. |
|
|
BakedEnv
A scripting language built in C#, for C#. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated | |
|---|---|---|---|
| 1.8.0 | 937 | 4/23/2022 | |
| 1.7.3 | 737 | 1/10/2022 | |
| 1.7.2 | 1,395 | 1/4/2022 | |
| 1.7.1 | 742 | 12/30/2021 | |
| 1.7.0 | 1,105 | 11/14/2021 | |
| 1.6.0 | 792 | 11/6/2021 | |
| 1.5.4 | 927 | 10/29/2021 | |
| 1.5.3 | 843 | 10/27/2021 | |
| 1.5.2 | 799 | 10/23/2021 | |
| 1.5.0 | 776 | 10/21/2021 | |
| 1.4.0 | 836 | 10/14/2021 | |
| 1.3.1 | 794 | 10/13/2021 | |
| 1.3.0 | 826 | 10/10/2021 | |
| 1.2.2 | 953 | 10/10/2021 | |
| 1.2.1 | 947 | 10/10/2021 | |
| 1.2.0 | 899 | 9/26/2021 | |
| 1.1.40 | 815 | 9/24/2021 | |
| 1.1.36 | 1,017 | 9/24/2021 |
Add two new lexer options
- IncludeUnderscoreAsAlphabetic
- IncludePeriodAsNumeric
Rename LexerTokenId.Minus to Dash
Rename LexerTokenId.Exclamation to ExclamationMark
Fixed Tokenizer.SkipWhile bug where a token was always skipped at least once