MichalStrehovsky

C compiler for .NET

10
0
89% credibility
Found May 07, 2026 at 10 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
C#
AI Summary

Chibil is a C# implementation of a tiny C compiler that outputs .NET-compatible object files for linking into pure managed executables.

How It Works

1
💡 Discover Chibil

You hear about Chibil, a simple tool that turns everyday C programs into apps that run smoothly on Windows using .NET.

2
📥 Get Chibil ready

Download the program and place your C code file next to it, just like preparing ingredients for a recipe.

3
✏️ Prepare your C program

Write or open a small C program, like one that plays a classic game or does simple math.

4
Compile with one command

Run Chibil on your file from the command window, and watch it create a special building block file instantly.

5
🔗 Link to create your app

Use free Windows tools to combine the building block with a starter kit, making a full runnable program.

🚀 Run and enjoy

Launch your app, play the game like DOOM, or see your calculations work perfectly in .NET!

Sign up to see the full architecture

4 more

Sign Up Free

Star Growth

See how this repo grew from 10 to 10 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is chibil?

Chibil compiles standard C code directly to .NET IL, producing COFF object files compatible with Visual Studio's linker and mixable with C++/CLI. It handles real-world apps like PureDOOM, supports debugging in .NET tools, and runs via a simple CLI like `chibil input.c -o output.exe`. Built in C# as a .NET compiler platform alternative to Roslyn-heavy setups, it skips a full stdlib but includes a minimal CRT stub for mains and globals.

Why is it gaining traction?

Unlike gcc compiler github ports or compiler .net online tools, chibil delivers tiny, self-hosted C-to-.NET without native deps, targeting .net compiler linux dreams via future linkers. Devs dig mixing C speed with .NET's ecosystem—no P/Invoke hacks—and line-precise debugging. It's a fresh compiler .net github project for embedding C libs in .NET apps.

Who should use this?

.NET devs compiling C interop or legacy libs to IL, like game ports (DOOM works) or low-level utils avoiding Roslyn/.net compiler platform sdk bloat. Suited for Windows link.exe flows now, or cross-platform hackers eyeing .net compiler linux. Skip if you need full stdlib or compiler netbeans integration.

Verdict

Intriguing POC for C-on-.NET at 10 stars and 0.9% credibility—mature enough for scenarios/DOOM tests, but lacks docs, linker, and stdlib breadth. Grab for experiments; watch for .net compiler download growth.

(178 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.