summaryrefslogtreecommitdiff
path: root/05/main.c
AgeCommit message (Collapse)Author
2022-02-10generating code for casts!pommicket
2022-02-10return, integer literalspommicket
2022-02-10first working executable!pommicket
2022-02-10fix some calling convention stuffpommicket
2022-02-09start codegenpommicket
2022-02-09more parsing tests, fixed more bugspommicket
- we now handle incomplete structs properly - small fix in for loop printing
2022-02-08fixed #include -> #include in certain cases, found a new bugpommicket
2022-02-08fix declaring multiple variables after struct definitionpommicket
2022-02-08more parsing tests, more fixespommicket
- #elif now actually works properly (hopefully) - fixed some array decaying bugs (hopefully), and generally simplified typing
2022-02-07fix #elif line number problem with parse testpommicket
2022-02-07fix a bunch of problems from parsing testpommicket
- ll suffixes (15ll => 15l) - newlines between string literals to be concatenated - fix *x++ = 1; - default - printing conditionals & decaying conditional operands
2022-02-07fix multi-line fmacro invocationspommicket
2022-02-07defined in #if (forgot about that earlier)pommicket
2022-02-07cleanup - declaring functions without defining them, etc.pommicket
2022-02-07proper call typing?pommicket
2022-02-07parsing calls, mostlypommicket
2022-02-06using function namespommicket
2022-02-06function parameters, fix local variablespommicket
2022-02-06switch, forpommicket
2022-02-06dopommicket
2022-02-06whilepommicket
2022-02-05local variables in expressionspommicket
2022-02-05braced initializers in local declarationspommicket
2022-02-05start local declarationspommicket
2022-02-05block static variables seem to be workingpommicket
2022-02-05start local static declarationspommicket
2022-02-04parse goto, casepommicket
2022-02-04parsing break, continue, returnpommicket
2022-02-03start parsing statements (not a lot yet)pommicket
2022-02-03dereferencing function pointerspommicket
2022-02-03parsing C is annoyingpommicket
2022-02-02fixed cast parsing bugpommicket
i hope casts weren't at a different precedence level for a reason
2022-02-02arrays decay to pointers - also found bugpommicket
2022-02-02struct initializers, found some bugs (not fixed yet)pommicket
2022-02-02union initializers, fix bug with array initializerspommicket
2022-02-02array initializers more or less workingpommicket
2022-02-02various simplifications, start array initializerspommicket
2022-02-02string literal initializers, global variable expressionspommicket
2022-02-01start string initializerspommicket
2022-01-29little correctionspommicket
2022-01-29normal (i.e. non-brace) initializerspommicket
2022-01-28start top level decls - also oops forgot about sizeless arrayspommicket
2022-01-27switch to using mmap for output filepommicket
2022-01-27sizeof structs and structs-in-structs workingpommicket
2022-01-27fix problem with casts immediately followed by operatorspommicket
2022-01-27structs mostly workingpommicket
2022-01-26struct/union definitionspommicket
2022-01-26restore casts, sizeofpommicket
2022-01-26commas starting to workpommicket
2022-01-26more work, now it's brokenpommicket