From ee43fea5d80116bd126eaf92b29e3c015634a22d Mon Sep 17 00:00:00 2001 From: Leo Tenenbaum Date: Thu, 19 Mar 2020 11:40:00 -0400 Subject: simplified tuple type syntax, fixed some problems with tuples --- main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'main.c') diff --git a/main.c b/main.c index 3134bca..3038587 100644 --- a/main.c +++ b/main.c @@ -8,10 +8,10 @@ /* TODO: -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 +allow #ifs in structs + - you can just have a dyn array of stmts and when you want to resolve the struct, + just type the statements, then loop over them (going into blocks if necessary) use &&, || start making a standard library... (printf; stringbuilder would be nice to have) -- cgit v1.2.3