Chibil C Compiler Targets .NET IL
TL;DR. A new C compiler named Chibil, based on chibicc, now targets .NET IL, enabling C code execution within the .NET ecosystem. - Chibil generates COFF OBJ files compatible with MSVC, allowing mixed-language linking with C++/CLI. - The compiler includes debugging capabilities with line numbers and local variable support for .NET debuggers. - A minimal C runtime library is provided, handling standard main function arguments for compiled executables.
- Chibil compiler, a C# rewrite of chibicc, now targets .NET IL (MSIL).
- It generates MSVC-compatible COFF OBJ files, allowing C++/CLI interoperation.
- Debugging features like line numbers and locals are supported in .NET debuggers.
- A minimal C runtime library is included for basic execution functionality.
Sources
- Chibil: A C compiler targeting .NET IL — github.com