Pidgin
ParserObjects
Pidgin | ParserObjects | |
---|---|---|
3 | 1 | |
829 | 6 | |
- | - | |
6.7 | 8.3 | |
2 months ago | about 1 month ago | |
C# | C# | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Pidgin
-
Library to parse slash commands with validation?
pigeon https://github.com/benjamin-hodgson/Pidgin
-
Would Someone ELI5 Parser Combinators?
Unfortunately I'm struggling. The first problem is choosing which combinator library to go with: Sprache, Superpower, Parlot, Pidgen, Lexepars, etc. etc. Some look simpler to use than others, others more performant, others come with useful parsers built in.
-
Introducing REXS: A language for writing regular expressions
Isn't that basically what parser combinators do? E.g., https://github.com/benjamin-hodgson/Pidgin
ParserObjects
-
ParserObjects Parser Combinator Library for .NET
It uses a combinators approach, so every parser is an object and you compose them together like any other object graph. It's all pure C# code with no separate code generation step like ANTLR uses. The test suite has several examples, but the easiest one to jump into is the JSON parsing example: Lexer and Parser. It's not exactly the same as BNF, but if you squint a little it should be just as easy to read. pseudo-BNF:
What are some alternatives?
Sprache - A tiny, friendly, C# parser construction library
Lexepars - Concise monadic parser combinator library with separate lexer/parser phases, off-side rule and big-size input support.
Superpower - A C# parser construction toolkit with high-quality error reporting
AngleSharp - :angel: The ultimate angle brackets parser library parsing HTML5, MathML, SVG and CSS to construct a DOM based on the official W3C specifications.
CSLY - a C# embeddable lexer and parser generator (.Net core)
kdl - the kdl document language specifications
FParsec - A parser combinator library for F#
NumberStones - Digital only clicky clack math rocks.
firely-net-sdk - The official Firely .NET SDK for HL7 FHIR
FParsec.CSharp - A thin C# wrapper for FParsec.
ANTLR - ANTLR (ANother Tool for Language Recognition) is a powerful parser generator for reading, processing, executing, or translating structured text or binary files.
ExcelDataReader - Lightweight and fast library written in C# for reading Microsoft Excel files