Farkle
LALR parser combinators for C# and F#. (by teo-tsirpanis)
Sprache
A tiny, friendly, C# parser construction library (by sprache)
Our great sponsors
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
Farkle
Posts with mentions or reviews of Farkle.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-01-03.
-
C# vs F# for parser combinators
Try Farkle. It's not a parser combinator library per se, but has a similar API (you compose language elements into bigger ones) and uses the LALR algorithm. Plus it's very fast and has some features FParsec doesn't have such as building your grammar's parsing tables ahead of time, or creating an HTML description of your grammar.
- Farkle 6.3.0 released - LALR parser combinators for C# and F#
Sprache
Posts with mentions or reviews of Sprache.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-10-28.
- how would you solve this? Filtering a db model from the api and persisting the filtration rules in a safe and db agnostic way
-
What is a tool you use or a bit of code that you like to use that you feel is worth bragging about?
Sprache
- Any prerolled SQL and/or keyword searches out there?
- GitHub - nreco/nlquery: Parser for end-user search-like queries and rule-based named entity recognition (NER) in context of tabular dataset schema.
-
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.
- Architecture pattern for Console Apps?
-
C# vs F# for parser combinators
I found Sprache much easier to learn/use than FParsec.
- Parsing an insert sql statement but the data contains commas
-
I don't like regex, so I wrote this
Things like https://github.com/sprache/Sprache are arguably similar.
-
How can I split a string containing HTML span element tags by its element tags?
Att my office usually use Sprache to parse complex models from strings. Mostly query expressions, but it should excell at parsing html as well. Maybe it can be a solution for you here. https://github.com/sprache/Sprache
What are some alternatives?
When comparing Farkle and Sprache you can also consider the following projects:
Bolero - Bolero brings Blazor to F# developers with an easy to use Model-View-Update architecture, HTML combinators, hot reloaded templates, type-safe endpoints, advanced routing and remoting capabilities, and more.
Pidgin - A lightweight and fast parsing library for C#.