[M3devel] C version of Modula 3

Rodney M. Bates rodney_bates at lcwb.coop
Thu Apr 2 18:09:14 CEST 2015

To compile with C code generation, try M3_BACKEND_MODE="C" at the top of
your m3makefile.  I believe this will also run a C compiler on that, going
all the way to libraries/executables.  I suppose cm3 -keep will leave the
C code around afterwards.

It has sounded to me like Jay has this tested and working for building the
compiler and libraries, on at least some targets.  As for putting the generated
C code where it is accessible on the net, I don't recall hearing anything about
that.  If you have a working head compiler, you could probably generate it yourself.

OK, so on rereading, I see that every sentence above has a hedge word in it.  Jay?

On 04/02/2015 07:00 AM, Hendrik Boom wrote:
> Sometime ago I believe it was Jay working on a C code generator for
> Modula 3.  But when I look at the downloads page I don't see it.
> Am I looking at the wrong place, am I being blind (it's happened
> before), or has it not yet come to the point where one can actually
> download and install from C?
> -- hendrik

Rodney Bates
rodney.m.bates at acm.org

More information about the M3devel mailing list