summaryrefslogtreecommitdiff
path: root/miniany/REQUIREMENTS
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2021-09-30 13:39:22 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2021-09-30 13:39:22 +0200
commit2e707c4702a06bbe6f44efc732820f6eacce27f9 (patch)
tree5cdfe47de723529c7dd2113553125fdd1403a9ab /miniany/REQUIREMENTS
parentc147a6f3d341cfece4776abbd648672410c8af6f (diff)
downloadcompilertests-2e707c4702a06bbe6f44efc732820f6eacce27f9.tar.gz
compilertests-2e707c4702a06bbe6f44efc732820f6eacce27f9.tar.bz2
cc: added do while
Diffstat (limited to 'miniany/REQUIREMENTS')
-rw-r--r--miniany/REQUIREMENTS6
1 files changed, 5 insertions, 1 deletions
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.
+