Support import files as modules (i.e. import only once)

This commit is contained in:
gingerBill
2016-07-21 00:26:14 +01:00
parent aa6a2caecb
commit cbd82e3c02
17 changed files with 1462 additions and 1481 deletions
+12
View File
@@ -0,0 +1,12 @@
@echo off
rem del "..\examples\test.bc"
call ..\bin\odin.exe ..\examples/test.odin
rem clang -S -emit-llvm ..\examples/test.c -o ..\examples/test.ll
call llvm-as < ..\examples/test.ll
rem call lli ..\examples/test.ll
rem call lli ..\examples/test.bc rem JIT
rem llc ..\examples/test.bc -march=x86-64 -o ..\examples/test.exe