summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2020-07-09 11:02:34 -0400
committerLeo Tenenbaum <pommicket@gmail.com>2020-07-09 11:02:34 -0400
commit4310752e123b110ab7e13b8c8f2b29eeb83ce7b3 (patch)
tree45d1fdb025daacb4fb841dd4bd8d3626bf175516 /main.c
parent6574c6862b03fc4ad126222e314c17a2c1d821e0 (diff)
fixed some bugs with tuples, new version of writei
Diffstat (limited to 'main.c')
-rw-r--r--main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.c b/main.c
index 9e5bb52..1b7c380 100644
--- a/main.c
+++ b/main.c
@@ -8,7 +8,7 @@
/*
@TODO:
-a ::= fn() (int, int) { return 3, 5; } b ::= fn() (int, int) { return a(); }
+figure out how printf is gonna work
if we do #include "foo.toc", bar; and foo.toc fails, bar should be declared as TYPE_UNKNOWN (right now it's undeclared)
fix #foreign not at global scope - right now the cgen'd definition doesn't use the proper type
find out why file output is really slow at compile time; try to improve it
@@ -22,6 +22,7 @@ unions
bitwise operations
---
#compile_only for functions only used at compile time
+warn about x : u8 = 1283;
switch to / add as an alternative: libffi
- better yet, inline assembly
don't bother generating ret_ if nothing's deferred