C# Compiler

Open-source C# projects categorized as Compiler

Top 23 C# Compiler Projects

  1. Roslyn

    The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.

    Project mention: .NET 10 Preview 6 brings JIT improvements, one-shot tool execution | news.ycombinator.com | 2025-07-30

    Yes it is. you can fork the roslyn compiler and toolchain here: https://github.com/dotnet/roslyn It's even an mit license one of the most permissive.

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. bebop

    🎷No ceremony, just code. Blazing fast, typesafe binary serialization.

  4. PowerUp

    âš¡ Decompilation Tools and High Productivity Utilities âš¡

  5. ILGPU

    ILGPU JIT Compiler for high-performance .Net GPU programs

    Project mention: My negative views on Rust (2023) | news.ycombinator.com | 2024-10-09

    > https://github.com/m4rs-mt/ILGPU/releases/tag/v1.5.1

    > Sept 2023.

    you guys just don't get it - there's a reason why CUDA is a dialect of C/C++ and not C# and it's not because the engineers at NVIDIA have just never heard of C#.

  6. ClojureCLR

    A port of Clojure to the CLR, part of the Clojure project

    Project mention: Rust panics under the hood, and implementing them in .NET | news.ycombinator.com | 2024-09-23

    Before Rich made Clojure for the JVM, he wrote dotLisp[1] for the CLR. Not long after Clojure was JVM hosted, it was also CLR hosted[2]. One of my first experiences with ML was F#[3], a ML variant that targets the CLR. These all predate the MIT licensed .net, but prior to that there was mono, which was also MIT licensed.

    1: https://dotlisp.sourceforge.net/dotlisp.htm

    2: https://github.com/clojure/clojure-clr

    3: https://fsharp.org/

  7. ikvm

    A Java Virtual Machine and Bytecode-to-IL Converter for .NET

    Project mention: IKVM – A Java Virtual Machine and Bytecode-to-IL Converter for .NET | news.ycombinator.com | 2025-02-06
  8. FastExpressionCompiler

    Fast Compiler for C# Expression Trees and the lightweight LightExpression alternative. Diagnostic and code generation tools for the expressions.

  9. Sevalla

    Deploy and host your apps and databases, now with $50 credit! Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more!

    Sevalla logo
  10. CSharp.lua

    The C# to Lua compiler

    Project mention: Why Fennel? | news.ycombinator.com | 2025-04-13

    You might be able to repurpose CSharp.lua[1] to compile F#

    [1] https://github.com/yanghuan/CSharp.lua

  11. Netjs

    Compile .NET assemblies to TypeScript and JavaScript

  12. Jurassic

    A .NET library to parse and execute JavaScript code.

  13. Roslyn-linq-rewrite

    Compiles C# code by first rewriting the syntax trees of LINQ expressions using plain procedural code, minimizing allocations and dynamic dispatch.

  14. Cesium

    C compiler for the CLI platform (by ForNeVeR)

  15. Mond

    A scripting language for .NET Core

  16. Metalama

    A meta-programming framework for code generation, aspect-oriented programming, and architecture verification of large C# codebases.

  17. h5

    🚀 The next generation C# to JavaScript compiler

  18. Hybridizer

    Examples of C# code compiled to GPU by hybridizer

  19. Amplifier.NET

    Amplifier allows .NET developers to easily run complex applications with intensive mathematical computation on Intel CPU/GPU, NVIDIA, AMD without writing any additional C kernel code. Write your function in .NET and Amplifier will take care of running it on your favorite hardware.

  20. DistIL

    Post-build IL optimizer and intermediate representation for .NET programs

    Project mention: Rust panics under the hood, and implementing them in .NET | news.ycombinator.com | 2024-09-23

    Unfortunately there is no short answer to this. But the main gist is that improving this to take advantage of all the underlying type system and compiler features would require a new API for LINQ, improvements for generic signature inference in C# (and possibly Rust-like associated types support), and introducing a similar new API to replace regular delegates, used by lambdas, anonymous functions, etc. with "value delegates" dispatched by generic argument to methods accepting them, with possibly a lifetime restriction of 'allows ref struct' which is a new feature that clarifies that a T may be a ref struct and is not allowed to be boxed, as it can contain stack references or references to a scope that would be violated by such operation.

    There have been many projects to improve this like https://github.com/dubiousconst282/DistIL and community libraries that reimplement LINQ with structs and full monomorphization, but the nature of most projects written in C# means their developers usually are not interested or do not need the zero-cost-like abstractions, which limits the adoption, and for C# itself it would need to evolve, and willingly accept a complete copy of existing APIs in LINQ with new semantics, which is considered, and I agree, a bad tradeoff where the simpler cases can be eventually handled through compiler improvements, especially now that escape analysis is back on the menu.

    Which is why, in order to "properly" provide Rust-like cost model of abstractions as the first-class citizen, only a new language that targets .NET would be able to do so. Alternatively, F# too has more leeway in what it compiles its inferred types to, but its a small team and as a language F# has different priorities as far as I know.

  21. Compiler

    The compiler repository for the Draco programming language. (by Draco-lang)

  22. Ncodi

    Tunisian Programming Language, Ncodi - Code in your own words.

  23. vsSolutionBuildEvent

    🎛 Event-Catcher with variety of advanced Actions to service projects, libraries, build processes, runtime environment of the Visual Studio, MSBuild Tools, and …

  24. CSLisp

    Scheme / Lisp implementation in pure C# for embedding in .NET projects

  25. Bite-Programming-Language

    Bite is a dynamically typed programming language. Embedded in C#

  26. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
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).

C# Compiler discussion

Log in or Post with

C# Compiler related posts

Index

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

# Project Stars
1 Roslyn 19,787
2 bebop 2,078
3 PowerUp 1,644
4 ILGPU 1,607
5 ClojureCLR 1,597
6 ikvm 1,436
7 FastExpressionCompiler 1,302
8 CSharp.lua 1,257
9 Netjs 970
10 Jurassic 921
11 Roslyn-linq-rewrite 715
12 Cesium 415
13 Mond 383
14 Metalama 330
15 h5 259
16 Hybridizer 241
17 Amplifier.NET 180
18 DistIL 145
19 Compiler 126
20 Ncodi 117
21 vsSolutionBuildEvent 84
22 CSLisp 64
23 Bite-Programming-Language 50

Sponsored
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com

Did you know that C# is
the 11th most popular programming language
based on number of references?