Skip to content
forked from praeclarum/Iril

Compiles LLVM IR (bytecode) or C to .NET Assemblies

License

Notifications You must be signed in to change notification settings

Color-Of-Code/Iril

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

363 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Iril

Build Test and Package

Iril is an LLVM IR to IL converter. That's a fancy way of saying it can compile native code like C to be crossplatform process-independent .NET.

Installation

dotnet tool install iril-cli -g

(Or dotnet tool update iril-cli -g if you already have it installed.)

Use

Given some code in HelloWorld.c:

#include <stdio.h>

int main(int argc, char *argv[])
{
    printf("Hello, world!");
}

You can compile that code to HelloWorld.dll with Iril:

iril HelloWorld.c

Run the code using dotnet:

dotnet HelloWorld.dll

Links

About

Compiles LLVM IR (bytecode) or C to .NET Assemblies

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • LLVM 70.8%
  • C# 29.2%