(This project is a cross-compiler to a VM running on a 6502. It's perfectly worthwhile, but personally, I'm much more interested in a C compiler that runs on the 6502 - even if it targets a virtual machine. It's a harder problem, to be sure. Open source is a must, of course. Even better if the compiler is written in C! But that's not truly important.)
(Handyandy reminds us of Hyper C, which has a 32 bit VM, (Edit: oops, no, see below,) mentioned in this earlier compiler thread: viewtopic.php?f=1&t=4314&start=45
)
Last edited by BigEd on Sat Jul 06, 2019 1:56 pm, edited 1 time in total.
Hyper C is actually a 16 bit VM for a 6502 or 65c02. It runs on the Apple II family of computers but modifying the source code it can be ported to other platforms and other CPUs like a 65816 in native mode. I'm not sure of modifying it to a 32 bit VM; that might break the tools. It came out before ANSI C so it's like K&R C.