I figured now is a reasonable time to let you know that I have picked up an age-old project of mine again - the C64-hosted Small C compiler cc64, written in Forth.
Its versions 0.4, uploaded to ccnga.uwaterloo.edu in 1995, seems to have managed to stick around in a few lists of languages/compilers for the C64, despite it still having some serious bugs.
I had written the thing during my university years, and after graduation both a breakdown of my C64, and getting busy with entering the workforce conspired to abort further development.
It has been a lingering dream/ambition of mine since then to some day pick it up again and finish it, for some value of finish. And after getting an unexpected ping about cc64 last summer, I found that I now have the time and opportunity, and started to
play around with it again.
So far it's been mostly about stabilizing things: collect and merge sources from back then (turned out I had unintentionally forked the sources at some point), move things to an emulator and get enough tooling in place for a sane automated build and test
process, write the first set of tests, and fix the first bugs I found. This includes the static vars linking bug.
I don't consider it in any way done yet (e.g. forward references of functions is still broken - next bug on my list), but I still feel I should slowly expose it to a few more eyes.
For all who would like to take a look, this is where it lives: https://github.com/pzembrod/cc64
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)