From 2e707c4702a06bbe6f44efc732820f6eacce27f9 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Thu, 30 Sep 2021 13:39:22 +0200 Subject: cc: added do while --- miniany/REQUIREMENTS | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'miniany/REQUIREMENTS') diff --git a/miniany/REQUIREMENTS b/miniany/REQUIREMENTS index cbee3f2..985def7 100644 --- a/miniany/REQUIREMENTS +++ b/miniany/REQUIREMENTS @@ -126,5 +126,9 @@ TODO: a variable. Knowing the contest would require an AST. - AST should not be the output of whole programs, scoping is maybe better - don't allow non-blocked if/else, just avoid dangling else problems - +- for loops: they simply have a too general and weird semantic in C (missing + semicolon after the last triplet). IMHO a for loop makes sense for SIMD + operations only when we can use a stricter grammar to optimize certain + iterations. + -- cgit v1.2.3-54-g00ecf