2024-02-25 15:16:19 +01:00
|
|
|
import elna.backend;
|
|
|
|
import std.path;
|
|
|
|
import std.sumtype;
|
|
|
|
import tanya.container.string;
|
|
|
|
import tanya.memory.allocator;
|
|
|
|
import tanya.memory.mmappool;
|
|
|
|
|
2024-03-01 10:13:55 +01:00
|
|
|
extern(C)
|
|
|
|
int main(int argc, char** args)
|
2024-02-25 15:16:19 +01:00
|
|
|
{
|
|
|
|
defaultAllocator = MmapPool.instance;
|
|
|
|
|
2024-03-01 10:13:55 +01:00
|
|
|
// return generate(args[3], args[2]);
|
|
|
|
return compile(args[3], args[2]);
|
2024-02-25 15:16:19 +01:00
|
|
|
}
|