diff options
Diffstat (limited to 'miniany/REQUIREMENTS')
-rw-r--r-- | miniany/REQUIREMENTS | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/miniany/REQUIREMENTS b/miniany/REQUIREMENTS index 474e975..cd6ffcf 100644 --- a/miniany/REQUIREMENTS +++ b/miniany/REQUIREMENTS @@ -29,3 +29,15 @@ not implementing: - linker - have compilation units needs a linker do build an executable +- symname[t] printing the symbol and not the number, + requires static initializers for array of char* +- ASTs are basically only useful when you start to optimize, + till then you can use an intermediate format (as C4) does + and a stack machine. They also make the code easier readable. + For use they fore the introduction of pointers, references and structs. + In expression parsing we see, that const folding already needs + an AST, because we should not emit code when still reading + a constant expression. It also seperates syntactical stuff like '[' + from logical stuff like 'declaration of array size' and 'derefencing + a pointer'. + |