diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2020-03-18 14:30:54 -0400 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2020-03-18 14:30:54 -0400 |
commit | 6fe4515f37bfe6ab12c85c4fa2f0242a922245cd (patch) | |
tree | ebd67c2ee4c538df8fa5611fd2027721519fd9b7 /main.c | |
parent | 951d809ec95c89601bfd293fb4f88432d88c288d (diff) |
defer seems to be working with functions now
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -8,9 +8,12 @@ /* TODO: -defer -make sure defer works with for +make sure defer works with for, break, continue make sure you can't return a #C() (because of the current defer system) +switch to: + static void + foo() { +get rid of angle brackets for tuple types - just check if a TYPE_EXPR which is an EXPR_TUPLE is returned use &&, || start making a standard library... (printf; stringbuilder would be nice to have) @@ -23,6 +26,7 @@ switch to / add as an alternative: libffi X ::= newtype(int); or something any odd number of "s for a string --- +error on x ::= {return; 3} #returns_code (struct body is a block, to be evaluated at compile time, which returns the actual statements) - struct varargs macros |