Sprache
Stateless
Sprache | Stateless | |
---|---|---|
10 | 9 | |
2,275 | 5,301 | |
0.9% | 0.6% | |
0.0 | 6.9 | |
13 days ago | 7 days ago | |
C# | C# | |
MIT License | GNU General Public License v3.0 or later |
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.
Sprache
- 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
Stateless
- Validating model based on Rules
-
Best practices for managing menu items that need to be enabled/disabled?
I like this method and state machines in general. Makes it more easier to reason about complex software. Also, ithe f the state machine gets bigger (more states) in the past I have used the Stateless library which is very good. But what you described above is perfect for managing the state of a menu system.
-
Architecture pattern for Console Apps?
After using stateless for three years, my conclusion is that I cannot imagine a scenario, where it makes sense to use it.
-
Modelling workflows with Finite State Machines in .NET
This is a great article. Here is the Stateless library he is writing about. The link to the library is kind of buried in the middle of a sentence.
- How to create event tree c#
-
Which service should store which data in a microservice architecture?
Yes! And we're using one. https://github.com/dotnet-state-machine/stateless We're creating the configuration dynamically based on how the user wants his workflow to work.
-
Need Finite-State Machine framework for TCP socket clients
Stateless is my go-to state machine library for .NET. It's reasonably advanced but can also be very simple if you don't need the more advanced features.
-
Has UML died without anyone noticing?
I'm playing around with this library for a medium sized state machine I'm setting up, and it has this functionality. I think explicit state machines are a good use-case for having an actual diagram, since they can take up enough space that it becomes hard to build a mental map from reading the code due to locality issues.
What are some alternatives?
Pidgin - A lightweight and fast parsing library for C#.
Automatonymous - A state machine library for .Net - 100% code - No doodleware
Superpower - A C# parser construction toolkit with high-quality error reporting
Appccelerate - State Machine - A .net library that lets you build state machines (hierarchical, async with fluent definition syntax and reporting capabilities).
FParsec - A parser combinator library for F#
MassTransit - Distributed Application Framework for .NET
Jot - Jot is a library for persisting and applying .NET application state.
LiquidState - Efficient asynchronous and synchronous state machines for .NET
Humanizer - Humanizer meets all your .NET needs for manipulating and displaying strings, enums, dates, times, timespans, numbers and quantities
Sourcetrail - Sourcetrail - free and open-source interactive source explorer
CsvHelper - Library to help reading and writing CSV files
command-line-api - Command line parsing, invocation, and rendering of terminal output.