LLVMSharp
LLVMSharp copied to clipboard
Print and read input functions with LLVMSharp
I write compiler for my own language using LLVMSharp. Currently I want to make print to standard output and read from standard input.
I tried looking into other projects but found nothing. One thing that I came up with is using printf from C or other language. But I don't know how to embed stdio.h
I created a sample calling C# Console.WriteLine and Console.ReadLine from LLVM IR.
https://github.com/davidelettieri/LLVMSharp.Samples