Furesoft.PrattParser
1.0.60
dotnet add package Furesoft.PrattParser --version 1.0.60
NuGet\Install-Package Furesoft.PrattParser -Version 1.0.60
<PackageReference Include="Furesoft.PrattParser" Version="1.0.60" />
paket add Furesoft.PrattParser --version 1.0.60
#r "nuget: Furesoft.PrattParser, 1.0.60"
// Install Furesoft.PrattParser as a Cake Addin
#addin nuget:?package=Furesoft.PrattParser&version=1.0.60
// Install Furesoft.PrattParser as a Cake Tool
#tool nuget:?package=Furesoft.PrattParser&version=1.0.60
Furesoft PrattParser Framework
Furesoft PrattParser
Furesoft PrattParser is a versatile parsing framework that provides extensive support for building custom parsers with ease. It supports Pratt parsing, a powerful method for parsing expressions and statements in a flexible manner.
Features
- Flexible Parsing: Supports Pratt parsing for complex expression handling.
- Extensible: Easily extend the parser and lexer with custom rules.
- Documentation: Comprehensive instructions available in the wiki.
Installation
To install Furesoft PrattParser, you can use NuGet:
dotnet add package Furesoft.PrattParser
Usage
using Furesoft.PrattParser;
namespace Sample;
public class Program
{
public static void Main(string[] args)
{
while (true)
{
Console.Write("> ");
var input = Console.ReadLine();
var parsed = Parser.Parse<ExpressionGrammar>(input);
var evaluated = rewritten.Accept(new EvaluationVisitor());
Console.WriteLine("> " + evaluated);
}
}
}
For more detailed instructions and advanced usage, please refer to the Wiki. A great example can be found here
Contributing
We welcome contributions! Please see our contributing guidelines for more details on how to get involved.
Product | Versions 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. |
-
net8.0
- System.Collections.Immutable (>= 8.0.0)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on Furesoft.PrattParser:
Package | Downloads |
---|---|
Furesoft.Core
Package Description |
|
Furesoft.PrattParser.Testing
A little framework to build parsers |
|
EatFrog
A framework to build emitters for compilers |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated | |
---|---|---|---|
1.0.59 | 114 | 6/21/2024 | |
1.0.58 | 103 | 6/14/2024 | |
1.0.57 | 102 | 6/5/2024 | |
1.0.56 | 92 | 6/4/2024 | |
1.0.55 | 108 | 6/4/2024 | |
1.0.54 | 98 | 6/2/2024 | |
1.0.53 | 83 | 6/2/2024 | |
1.0.52 | 95 | 6/1/2024 | |
1.0.51 | 88 | 5/29/2024 | |
1.0.50 | 184 | 10/8/2023 | |
1.0.49 | 234 | 8/5/2023 | |
1.0.48 | 150 | 8/4/2023 | |
1.0.47 | 145 | 7/18/2023 | |
1.0.46 | 166 | 7/16/2023 | |
1.0.45 | 145 | 6/15/2023 | |
1.0.44 | 158 | 6/15/2023 | |
1.0.43 | 124 | 6/14/2023 | |
1.0.42 | 154 | 6/11/2023 | |
1.0.41 | 136 | 6/10/2023 | |
1.0.40 | 135 | 6/8/2023 | |
1.0.38 | 131 | 5/31/2023 | |
1.0.36 | 126 | 6/8/2023 | |
1.0.35 | 137 | 5/31/2023 | |
1.0.34 | 142 | 5/30/2023 | |
1.0.33 | 144 | 5/30/2023 | |
1.0.32 | 161 | 5/30/2023 | |
1.0.31 | 147 | 5/26/2023 | |
1.0.30 | 129 | 5/26/2023 | |
1.0.29 | 131 | 5/26/2023 | |
1.0.28 | 134 | 5/26/2023 | |
1.0.27 | 144 | 5/25/2023 | |
1.0.26 | 135 | 5/24/2023 | |
1.0.25 | 153 | 5/21/2023 | |
1.0.24 | 141 | 5/21/2023 | |
1.0.23 | 163 | 5/21/2023 | |
1.0.22 | 142 | 5/21/2023 | |
1.0.21 | 155 | 5/20/2023 | |
1.0.20 | 159 | 5/20/2023 | |
1.0.19 | 155 | 5/20/2023 | |
1.0.18 | 161 | 5/20/2023 | |
1.0.17 | 153 | 5/19/2023 | |
1.0.16 | 144 | 5/18/2023 | |
1.0.15 | 156 | 5/17/2023 | |
1.0.14 | 144 | 5/17/2023 | |
1.0.13 | 167 | 5/17/2023 | |
1.0.12 | 134 | 5/17/2023 | |
1.0.11 | 156 | 5/17/2023 | |
1.0.10 | 139 | 5/16/2023 | |
1.0.9 | 151 | 5/16/2023 | |
1.0.8 | 148 | 5/16/2023 | |
1.0.7 | 152 | 5/16/2023 | |
1.0.6 | 145 | 5/16/2023 | |
1.0.5 | 138 | 5/16/2023 | |
1.0.4 | 140 | 5/16/2023 | |
1.0.3 | 137 | 5/16/2023 | |
1.0.2 | 143 | 5/16/2023 | |
1.0.1 | 149 | 5/14/2023 | |
1.0.0 | 151 | 5/13/2023 |