Added C# project for calling the different modules

This commit is contained in:
Pasha Bibko
2025-05-03 17:04:37 +01:00
parent e12088979d
commit cb26d373ae
14 changed files with 295 additions and 45 deletions

16
LX-Build/Main.cs Normal file
View File

@@ -0,0 +1,16 @@
using System;
namespace LX_Build
{
class Program
{
static void Main(string[] args)
{
// Initalises the CPP interface //
LX_API.Init();
// Generates LLVM IR with the example files //
_ = LX_API.GenIR("example/main.lx", "example/main.ll", "example/log");
}
}
}