summaryrefslogtreecommitdiff
path: root/miniany/REQUIREMENTS
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2021-09-24 19:07:50 +0000
committerAndreas Baumann <mail@andreasbaumann.cc>2021-09-24 19:07:50 +0000
commitd0491186abedd36a6e065e97bf29eaaf87f6f95c (patch)
tree21cfa4049b5f98dfb0e7b54b634e700f1a6eb5f4 /miniany/REQUIREMENTS
parent728d58d5cbea121faf26699bca726db2530ae71a (diff)
downloadcompilertests-d0491186abedd36a6e065e97bf29eaaf87f6f95c.tar.gz
compilertests-d0491186abedd36a6e065e97bf29eaaf87f6f95c.tar.bz2
cc: about to emulate a printint build-in keyword (for now just prints a string)
Diffstat (limited to 'miniany/REQUIREMENTS')
-rw-r--r--miniany/REQUIREMENTS7
1 files changed, 7 insertions, 0 deletions
diff --git a/miniany/REQUIREMENTS b/miniany/REQUIREMENTS
index 7dcfc78..0472c1e 100644
--- a/miniany/REQUIREMENTS
+++ b/miniany/REQUIREMENTS
@@ -110,3 +110,10 @@ TODO:
- static: just ignore, we don't have a linker, otoh, just rewrite it whithout static,
vararg, etc.
- c4.c: checkout c5-AST branch (darn, that one looks more promising to extend!)
+- cc.c: putint as a command in the language for early debugging (as in early Pascal),
+ points to a fundamental conflict: bootstrapping is better with stdout and stdin in
+ the language (no linker, no function calls etc. needed). OTOH we don't want to
+ have I/O as part of the language later, more be in the standard library.
+ Inline assembly in the generated code duplicates code with the putint in libc-freestanding.
+
+