aboutsummaryrefslogtreecommitdiff
path: root/src/tilde_backend.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2023-07-08 12:07:11 +0100
committergingerBill <bill@gingerbill.org>2023-07-08 12:07:11 +0100
commit7ab531bd21d19338e2e6fb9ed12a9443cca95d7e (patch)
treeadb38df9e0cae9afb00d588a955f80a51b7a225e /src/tilde_backend.cpp
parentd7af6de9b90d39f87ad189f3c998381e1f298b6d (diff)
Add `-tilde` for working on the new compiler
Diffstat (limited to 'src/tilde_backend.cpp')
-rw-r--r--src/tilde_backend.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/tilde_backend.cpp b/src/tilde_backend.cpp
new file mode 100644
index 000000000..6f51784e8
--- /dev/null
+++ b/src/tilde_backend.cpp
@@ -0,0 +1,18 @@
+#if defined(GB_SYSTEM_WINDOWS)
+ #pragma warning(push)
+ #pragma warning(disable: 4200)
+ #pragma warning(disable: 4201)
+ #define restrict gb_restrict
+#endif
+
+#include "tilde/tb.h"
+
+#if defined(GB_SYSTEM_WINDOWS)
+ #pragma warning(pop)
+#endif
+
+
+bool tb_generate_code(Checker *c) {
+ gb_printf_err("TODO(bill): implement Tilde Backend\n");
+ return false;
+} \ No newline at end of file