summaryrefslogtreecommitdiff
path: root/miniany/cc.c
AgeCommit message (Collapse)Author
2024-01-14updated todos and documentationAndreas Baumann
2021-10-30cc: some proper checking of return types and some primitive check for ↵Andreas Baumann
missing or superflous return statements
2021-10-29cc:Andreas Baumann
- some work on function calls (with default EAX return and no params), also added a return statement - fix code generator for division (case when EDX is the operand resulting in endless loops)
2021-10-13cc: some support for putchar and char store/loadAndreas Baumann
2021-10-10cc: work on int, char typesAndreas Baumann
2021-10-01c4: added strl* functionsAndreas Baumann
cc: started peudo function parsing, currently for void main() only some philosophical thinking and testing around forward function declarations
2021-09-30cc: rearanged for a pseudo-mainAndreas Baumann
2021-09-30cc: added do whileAndreas Baumann
2021-09-30cc: added while loopsAndreas Baumann
2021-09-30added a Makefile for wordgrinder export and markdown to HMTLAndreas Baumann
2021-09-29cc: work on a working ifAndreas Baumann
2021-09-27cc: added boolean expressionsAndreas Baumann
2021-09-26cc: cleanup putint and also zeroing print bufferAndreas Baumann
2021-09-26cc:Andreas Baumann
- fixed zeroing of EDX before division if operating register was EAX - implemented simple itoa in assembly in putint operation
2021-09-24cc: about to emulate a printint build-in keyword (for now just prints a string)Andreas Baumann
2021-09-23ccAndreas Baumann
- proper Pratt parsing of expressions - fixed some register saving around divs and muls
2021-09-01some testing of strange print_char behaviour under optimization on gccAndreas Baumann
2021-08-30implemented simplistic register spillingAndreas Baumann
first working binary produced with cc/fasm and run on emul
2021-08-25some work on cc generating the code with ASTAndreas Baumann
2021-08-22cc: more structured codeAndreas Baumann
2021-08-20cc: simple global scope and duplicate global detectionAndreas Baumann
2021-08-20c4: fixed compiler warnings and using old style block commentsAndreas Baumann
2021-08-19added symbol struct and memory managementAndreas Baumann
2021-08-19c4: use casesAndreas Baumann
2021-08-19c4: added switch statementAndreas Baumann
2021-08-15added NULL and EOF (-1 as emum initialized in c4)Andreas Baumann
2021-08-13cc: some work on the scanner, expression parserAndreas Baumann
2021-07-27printing line lumbersAndreas Baumann
2021-07-18another test with c4 and a minic compilerAndreas Baumann