2 - eliminate target_architecture.h and replace with stuff in lang_features.h
3 - create structures for variables and functions, removing the omnipotent declaration
6 - Add preprocessor code
7 - proper handling of different file encodings, parsing non-ascii strings
8 - We could save some space by holding source positions in a separate (somehow
9 compressed table) and only storing pointers to it on the AST.
12 - disallow storage class specifiers in struct/union members
13 - add constant folding code (optional, ast2firm already does it)
14 - Refactor code, so code to handle number values (and strings?) is an own
16 - Support some attributes. noreturn, unused, printf, scanf, packed would be
17 interesting candidates
18 - Add columns to source positions
19 - SourcePositions could be stored selectively on expressions that really need
21 - check semantic for functions declared/defined in global scope and declared
22 again in a local scope
23 - print initialisation type_path for initializer errors
24 - check switches for: double cases, all enums
27 - handle non-constant initializers
28 - output source file positions for panics...
29 - handle bitfield members with 0 correctly (standard says they finish the
33 * label: declaration; is no valid C99 but we parse it anyway
34 * check switches for double cases
37 * dead assignments (int x = 5; x = bla(); -> dead assignment at x = 5;)
39 * check switches for all enums values
40 * catch the if(k = b) cases, maybe require all assignments to be in parentheses
41 (but some few exceptions like toplevel, nested assignments)
44 (only test datasets tried yet)
49 186.crafty: works (~though an asm is replaced with a stub)