dunet

Union generator

A source generator that creates discriminated union types in C# with support for generics and implicit conversions.

C# discriminated union source generator

GitHub

633 stars
8 watching
20 forks
Language: C#
last commit: 7 days ago
Linked from 1 awesome list

csharpcsharp-sourcegeneratordiscriminated-unionsdotnetfpfunctionalfunctional-programmingunion

Backlinks from these awesome lists:

Related projects:

Repository Description Stars
ne4to/n.sourcegenerators.uniontypes A C# source generator that automates the creation of discriminated union types with helper methods. 10
paulbraetz/unions A C# library that generates efficient union types with rich APIs and automatic relation type detection for various use cases. 10
polyadic/funcky-discriminated-union A source generator that automates the creation of Match methods for discriminated unions in C# 6
krasin-ga/matryoshki A framework for creating type-agnostic decorators and adapters using C# source generators 28
ycanardeau/resxgenerator A C# source generator to create strongly-typed resource classes for localized strings 32
mknejp/dotvariant A type-safe sum type library for C# that enables the creation of compact variants with compile-time checked constraints and generated interfaces. 70
jakubsturc/talk-csharp-source-generators A presentation about C# Source Generators, covering their purpose and functionality in generating code at compile-time. 3
ufcpp/memberaccessgenerator A source generator that creates C# code to implement member accessors with name-based and index-based access. 7
davidwengier/sourcegeneratortemplate Provides a basic template and tools to generate C# source code programmatically 181
yeah69/mrmeeseeks.die A compile-time dependency injection container for .Net that generates factory methods to create instances of types. 7
hamedfathi/enumerationclassgenerator A C# source generator tool to create enumeration classes from enum types with additional features and customization options. 16
lokimidgard/sourcegenerator.helper.copycode Generates source code strings for attribute definitions in C#. 7
thenameless314159/sourcegeneratorutils Provides utility classes and abstractions to simplify source generation tasks in .NET source generators 21
collinalpert/lombok.net A .NET library that uses source generators to automatically create boilerplate code for classes and structs. 313
devteam/pure.di A source code generator for creating object graphs in .NET without dependencies on IoC containers or frameworks. 521