About This File
cc64 is a small-C compiler, written in Forth, targeting the 6502 CPU.
It's hosted on the C64, on the C16 with 64k RAM, and now on the X16.
Runtime targets are available for all 3 platforms, on each host, allowing cross-compilation.
The code lives at https://github.com/pzembrod/cc64.
It's licensed under the 2-clause BSD license: https://github.com/pzembrod/cc64/blob/master/COPYING
See https://github.com/pzembrod/cc64/blob/master/Usage.md for usage.
See https://github.com/pzembrod/cc64/blob/master/C-lang-subset.md for details about the supported subset of C.
Released under the 3 clause BSD license.
What's New in Version 0.9 See changelog
Main topic of v0.9 is compile speed. With the help of a simple profiler
I was able to optimize a few performance hotspots in the scanner and in
the scanner/parser interface, resulting in more than 20% compile time
saved or more than 30% speed gained.
Also, Source code listing during compile can now be switched on and off.
Default is off; it turns out that switching off listing decreases
compile time by another ~10%.
For the X16 another v0.9 feature is that it runs both on the R38 ROM+emulator
and on R39, as it is based on VolksForth 3.9.3 which has the same property.