Check out m2c (Modula-2 to C)
Check out m2c (Modula-2 to C)
Maybe because it is spelt Mocka ;-)
-- Chris Burrows CFB Software
XDS-C is a Modula-2/Oberon-2 "via C" compiler: its output is ANSI C, K&R C, or C++ source code, which is subject to further compilation by a third party C/C++ compiler.
Yes - this may well be a stumbling block.
-- Chris Burrows CFB Software
Damn, this one I did not try. I studied at Frankfurt not KArlsruhe :-)
Too bad, they only offer an old linux binary and no source
As often is the case, the Wayback machine comes to the rescue!
-- Chris Burrows CFB Software
Use visualstate or similar statemachine drawing tool that produces c or c++, fits on a Z80 no problem job done.
Virgil
it also "abandoned" but of interest for experimentation purposes I have been too busy myself to try it out myself but it did look interesting
as long as you have the source code then it is not truly abandoned like the bad old days when the vendor went belly up you were out of luck
By the way targeting C these days is quite common but usually is for larger 32 bit general purpose platforms.
But w/o reason. AFAIK the first machine running C was a 16bit CPU.
A Digital PDP-11.
Have something to add? Share your thoughts — no account required.
Ask the community — no account required