summaryrefslogtreecommitdiff
path: root/05/main.c
AgeCommit message (Collapse)Author
2022-02-14strtoul, strtolpommicket
2022-02-14better error for declaring incomplete structpommicket
2022-02-14almost all of stdio.hpommicket
2022-02-14clean up stb_sprintf; implementation of fprintf et al, removepommicket
2022-02-14snprintf now working! (fixed problem will calls inside calls)pommicket
2022-02-13sprintf working! (but not snprintf ...)pommicket
2022-02-13first C hello world!pommicket
2022-02-13C compiler done ? va_list/arg program working :)pommicket
2022-02-13fixed local variables and also structs containing arrayspommicket
2022-02-13switch / case / defaultpommicket
2022-02-13labels, gotopommicket
2022-02-13break, continuepommicket
2022-02-13if, while, dopommicket
2022-02-13pre/post increment/decrementpommicket
2022-02-13comparison operatorspommicket
2022-02-13compound assignment operatorspommicket
2022-02-13fix dereferencing function pointer codegenpommicket
2022-02-12fix casting arguments to parameter typepommicket
2022-02-12logical and,orpommicket
2022-02-12fix generate_function_addr; conditional expressionspommicket
2022-02-12function calls mostly workingpommicket
2022-02-12bitwise and,or,xor, shiftspommicket
2022-02-12codegen remainder, fix additionpommicket
2022-02-12multiplication and divisionpommicket
2022-02-12assignments, STATEMENT_EXPRESSIONspommicket
2022-02-12codegen for . -> ,pommicket
2022-02-12codegen for address ofpommicket
2022-02-12codegen for dereference, subscriptpommicket
2022-02-12local variablespommicket
2022-02-12codegen for global variablespommicket
2022-02-11subtraction codegenpommicket
2022-02-11additionpommicket
2022-02-11fixed prefix -- parsing; codegen for unary + - ~ !pommicket
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