C# Parsing

Open-source C# projects categorized as Parsing

Top 12 C# Parsing Projects

  • command-line-api

    Command line parsing, invocation, and rendering of terminal output.

    Project mention: How to configure true dependency injection in System.CommandLine | dev.to | 2023-06-20

    using System.CommandLine.Invocation; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection.Extensions; namespace System.CommandLine.Builder; internal static class DependencyInjectionMiddleware { public static CommandLineBuilder UseDependencyInjection(this CommandLineBuilder builder, Action configureServices) { return UseDependencyInjection(builder, (_, services) => configureServices(services)); } // This overload allows you to conditionally register services based on the command line invocation context // in order to improve startup time when you have a lot of services to register. public static CommandLineBuilder UseDependencyInjection(this CommandLineBuilder builder, Action configureServices) { return builder.AddMiddleware(async (context, next) => { // Register our services in the modern Microsoft dependency injection container var services = new ServiceCollection(); configureServices(context, services); var uniqueServiceTypes = new HashSet(services.Select(x => x.ServiceType)); services.TryAddSingleton(context.Console); await using var serviceProvider = services.BuildServiceProvider(); // System.CommandLine's service provider is a "fake" implementation that relies on a dictionary of factories, // but we can still make sure here that "true" dependency-injected services are available from "context.BindingContext". // https://github.com/dotnet/command-line-api/blob/2.0.0-beta4.22272.1/src/System.CommandLine/Invocation/ServiceProvider.cs context.BindingContext.AddService(_ => serviceProvider); foreach (var serviceType in uniqueServiceTypes) { context.BindingContext.AddService(serviceType, _ => serviceProvider.GetRequiredService(serviceType)); // Enable support for "context.BindingContext.GetServices<>()" as in the modern dependency injection var enumerableServiceType = typeof(IEnumerable<>).MakeGenericType(serviceType); context.BindingContext.AddService(enumerableServiceType, _ => serviceProvider.GetServices(serviceType)); } await next(context); }); } }

  • CppSharp

    Tools and libraries to glue C/C++ APIs to high-level languages

  • Mergify

    Updating dependencies is time-consuming.. Solutions like Dependabot or Renovate update but don't merge dependencies. You need to do it manually while it could be fully automated! Add a Merge Queue to your workflow and stop caring about PR management & merging. Try Mergify for free.

  • abot

    Cross Platform C# web crawler framework built for speed and flexibility. Please star this project! +1.

  • Rubberduck

    Every programmer needs a rubberduck. COM add-in for the VBA & VB6 IDE (VBE).

    Project mention: In a world that runs on Excel, why should I as an engineer learn python? | /r/AskEngineers | 2023-05-11
  • firely-net-sdk

    The official Firely .NET SDK for HL7 FHIR

  • Pidgin

    A lightweight and fast parsing library for C#.

    Project mention: Library to parse slash commands with validation? | /r/dotnet | 2023-06-02

    pigeon https://github.com/benjamin-hodgson/Pidgin

  • AngouriMath

    New open-source cross-platform symbolic algebra library for C# and F#. Can be used for both production and research purposes.

    Project mention: Is there a c# library available that will evaluate arithmetic string such "5+3+max(3)" in runtime say from a file and provide output | /r/csharp | 2023-04-08

    it's also might be helpful AngouriMath

  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

  • nHapi

    nHapi is the .Net port of the original Java project HAPI.

  • NFlags

    Simple yet powerfull library to made parsing CLI arguments easy. Library also allow to print usage help "out of box".

  • NWNLogRotator

    Automatically stores, cleans, and colorizes your Neverwinter Nights chat logs.

  • Lexepars

    Concise monadic parser combinator library with separate lexer/parser phases, off-side rule and big-size input support.

  • Numerical-Realization

    An English-based natural language generator for numerical inputs. (by BL1NDX3N0N)

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-06-20.

C# Parsing related posts

Index

What are some of the best open-source Parsing projects in C#? This list will help you:

Project Stars
1 command-line-api 3,161
2 CppSharp 2,767
3 abot 2,124
4 Rubberduck 1,787
5 firely-net-sdk 747
6 Pidgin 742
7 AngouriMath 700
8 nHapi 252
9 NFlags 44
10 NWNLogRotator 20
11 Lexepars 7
12 Numerical-Realization 0
Collect and Analyze Billions of Data Points in Real Time
Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.
www.influxdata.com