CLanguage
CLanguage copied to clipboard
Simple test
Hello @praeclarum! I'm trying to use your CLanguage. I'm a bit lost.
This is what I have so far:
public class UnitTest1
{
[Fact]
public void Test1()
{
var sut = new CCompiler(new CompilerOptions(new MachineInfo()));
sut.AddDocument(new Document("file.c", "int main { return 123; }"));
var ex = sut.Compile();
}
}
How do I get the 123 that results after the execution of the program?