eriove / Iril

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Iril

Build Status

IR to IL converter.

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

About

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

License:MIT License


Languages

Language:LLVM 72.3%Language:C# 27.7%Language:Shell 0.0%Language:Makefile 0.0%