svhawkins / B-Minor-Compiler

COMP 4060 B-Minor Compiler
2 stars 0 forks source link

various QOL improvements #2

Closed svhawkins closed 10 months ago

svhawkins commented 12 months ago

1. symbol table should now contain 'hidden symbols' (symbols with names like: ".L[0-9]+") for better generation of string literals and the like 2. makefile contents are a bit dry, can be refactored to be a loop instead going through variables. --> LATER 3. B-Minor integers are 64 bit integers. it is currently that they are regular C integers, which are signed 32 bit. this only needs to change some signatures and declarations (and including stdint.h) 4. register structure should keep track of intermediate values from expressions for better error tracking and the like. this should be int64_t.

  1. a test in test_typecheck.c can be made into multiple tests to mitigate/remove current memory leak there. 6. error output in test files is a bit verbose. find a way to put it into a different stream, error log file.
svhawkins commented 11 months ago

07.30.2023

svhawkins commented 11 months ago

07.31.2023

svhawkins commented 11 months ago

08.05.2023:

svhawkins commented 11 months ago

08.13.2023 21:32:

08.20.2023: 13:44:

svhawkins commented 10 months ago

Not doing valgrind stuff for typechecker stuff. Shall do so in later issue.