summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-01-20added a B compiler to linksHEADmasterAndreas Baumann
2024-01-14forgot some docuAndreas Baumann
2024-01-14updated todos and documentationAndreas Baumann
2022-05-20using sprintf on host for itoa (avoids code duplication iwht ↵Andreas Baumann
libc-freestanding.c)
2022-05-13fixed main documentationAndreas Baumann
2022-05-13added notes about ras52 bootstrapping from hex to C projectAndreas Baumann
added about t3x
2022-05-05emul.c: fixed usageAndreas Baumann
2022-05-05notes about short-citcuting logic in boolean expressionAndreas Baumann
small bugfixes in documentation
2022-05-05generating a README.txt from README.htmlAndreas 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-10added documenation from REQUIREMENTS to cc.wg (README.html)Andreas Baumann
added a TODO file added an automatic build file with entr
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-30fixed HTML generation for <code> tagsAndreas 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-30README is markdown export of cc.wg now, Wordgrinder file is the masterAndreas Baumann
2021-09-30some Wordgrinder dokuAndreas 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-24emul: added INT 0x80 hook for syscall 4 (write) for printintAndreas Baumann
2021-09-24emulAndreas Baumann
- added command line options for verbose output, tracing, ...
2021-09-23ccAndreas Baumann
- proper Pratt parsing of expressions - fixed some register saving around divs and muls
2021-09-06also pcc works now with hosted c4Andreas Baumann
2021-09-06c4 is freestanding nowAndreas Baumann
2021-09-01loosing time in freestanding gcc-opimized code with volatile string buffers ↵Andreas Baumann
on the stack (aka fun)
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: also merged in structuresAndreas 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-08-13c4: added support for do/whileAndreas Baumann
c4: added is* (ctype) functions c4: trying to add char array globs (don't work so far)
2021-08-05added quite some links around c4Andreas Baumann
2021-08-01added normal comments to c4Andreas Baumann
2021-07-31fixed read->-1 in c4/c4/cc chainAndreas Baumann
2021-07-27printing line lumbersAndreas Baumann