<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><div id="yiv1321444135"><table id="yiv1321444135bodyDrftID" class="yiv1321444135" border="0" cellpadding="0" cellspacing="0"><tbody><tr><td id="yiv1321444135drftMsgContent" style="font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; font-size-adjust: inherit; font-stretch: inherit; font-family: arial; font-size: 10pt;">Hi all:<br>
yes, I'm into to do actually getting some, but meanwhile if you are
deleting every other type information of C sources, more and more,
won't we need another representation of Modula-3 code, we would have
just 3 different compilers 1)<br>
M3←↓→ IR , IR ←↓→ O , C←↓→ O but better M3 ← ↓ → C , C ←↓→ O , S ←↓→O <br> M3cg C S C S O<br>
<br>
Question is if M3cg machine is running in C why we needed C for it ?
Instead use IR directly as real IR? Why waste time on coding it, Code that isn't running?<br>
The real thing is we need to communicate M3cg with C one way of another as it actually is partly from Modula-3 to C. Don't you think?<br>If not is better to go through the right side scheme for our JIT target.<br>
Thanks in advance<br><br>--- El <b>dom, 5/8/12, Jay <i><jay.krell@cornell.edu></i></b> escribió:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>De: Jay <jay.krell@cornell.edu><br>Asunto: Re: [M3commit] CVS Update: cm3<br>Para: "Daniel Alejandro Benavides D." <dabenavidesd@yahoo.es><br>CC: "<m3commit@elegosoft.com>" <m3commit@elegosoft.com>, "<jkrell@elego.de>"
<jkrell@elego.de><br>Fecha: domingo, 5 de agosto, 2012 19:53<br><br><div id="yiv1321444135"><div><div>Daniel, your question doesn't quite make sense to me. Do you have some actual code? If you translate Modula-3 to C then you don't need m3cc. m3cc is a backend that integrates with cm3.</div><div><br> - Jay (briefly/pocket-sized-computer-aka-phone)</div><div><br>On Aug 5, 2012, at 11:22 AM, "Daniel Alejandro Benavides D." <<a rel="nofollow">dabenavidesd@yahoo.es</a>> wrote:<br><br></div><div></div><blockquote type="cite"><div><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font: inherit;" valign="top">Hi all:<br>Jay, if I produce a target dependent translator to C Do I need to make it to talk with m3gcc to use Modula-3 compiler code (M3 code)?<br>For instance CM3 -> C →m3gcc← .is <br>Or is there
any tool than gcc to talk with C in AIX can I use to talk with Modula-3?<br>This is to recover type information lost in translation to C before is lost.<br>Thanks in advance<br><br>--- El <b>dom, 5/8/12, Jay Krell <i><<a rel="nofollow">jkrell@elego.de</a>></i></b> escribió:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>De: Jay Krell <<a rel="nofollow">jkrell@elego.de</a>><br>Asunto: [M3commit] CVS Update: cm3<br>Para: <a rel="nofollow"></a><a rel="nofollow">m3commit@elegosoft.com</a><br>Fecha:
domingo, 5 de agosto, 2012 13:55<br><br><div class="yiv1321444135plainMail">CVSROOT: /usr/cvs<br>Changes by:
jkrell@birch. 12/08/05 18:55:19<br><br>Modified files:<br> cm3/m3-sys/m3cc/gcc/gcc/m3cg/: parse.c <br> ./: parse.c <br> cm3/m3-sys/m3cc/gcc-4.7/: Makefile.def Makefile.in Makefile.tpl <br> configure <br> ./: Makefile.def Makefile.in Makefile.tpl configure <br> cm3/m3-sys/m3cc/gcc-4.7/gcc/: Makefile.in builtins.c configure <br> configure.ac double-int.c <br> double-int.h expr.c fold-const.c <br>
lto-compress.c lto-section-out.c <br> passes.c real.c toplev.c <br> tree-pass.h tree-ssa-loop-niter.c <br> tree-vrp.c tree.c tree.h <br> ./: Makefile.in builtins.c configure configure.ac double-int.c <br> double-int.h expr.c fold-const.c lto-compress.c <br> lto-section-out.c passes.c real.c toplev.c tree-pass.h <br> tree-ssa-loop-niter.c tree-vrp.c tree.c tree.h <br> cm3/m3-sys/m3cc/src/: clean_marker.txt m3makefile <br>Removed
files:<br> cm3/m3-sys/m3cc/gcc-4.7/gcc/: collect2-aix.c collect2-aix.h <br> collect2.c collect2.h gcc-ar.c <br> genmultilib realmpfr.h <br> ./: collect2-aix.c collect2-aix.h collect2.c collect2.h gcc-ar.c <br> genmultilib realmpfr.h <br> cm3/m3-sys/m3cc/gcc-4.7/zlib/: FAQ INDEX Makefile.am Makefile.in <br> README acinclude.m4 aclocal.m4 <br> adler32.c algorithm.txt
<br> compress.c configure configure.ac <br> crc32.c crc32.h deflate.c <br> deflate.h example.c gzio.c <br> infback.c inffast.c inffast.h <br> inffixed.h inflate.c inflate.h <br>
inftrees.c inftrees.h <br> make_vms.com minigzip.c trees.c <br> trees.h uncompr.c zconf.h <br> zconf.in.h zlib.3 zlib.h zutil.c <br> zutil.h <br> ./: FAQ INDEX Makefile.am Makefile.in README acinclude.m4 <br> aclocal.m4 adler32.c algorithm.txt compress.c configure <br> configure.ac crc32.c crc32.h deflate.c deflate.h example.c
<br> gzio.c infback.c inffast.c inffast.h inffixed.h inflate.c <br> inflate.h inftrees.c inftrees.h make_vms.com minigzip.c <br> trees.c trees.h uncompr.c zconf.h zconf.in.h zlib.3 zlib.h <br> zutil.c zutil.h <br> cm3/m3-sys/m3cc/gcc-4.7/zlib/amiga/: Makefile.pup Makefile.sas <br> ./: Makefile.pup Makefile.sas <br> cm3/m3-sys/m3cc/gcc-4.7/zlib/as400/: bndsrc compile.clp <br> readme.txt zlib.inc <br> ./: bndsrc compile.clp readme.txt zlib.inc <br> cm3/m3-sys/m3cc/gcc-4.7/zlib/examples/: README.examples fitblk.c <br>
gun.c gzappend.c <br> gzjoin.c gzlog.c gzlog.h <br> zlib_how.html zpipe.c <br> zran.c <br> ./: README.examples fitblk.c gun.c gzappend.c gzjoin.c gzlog.c <br> gzlog.h zlib_how.html zpipe.c zran.c <br> cm3/m3-sys/m3cc/gcc-4.7/zlib/msdos/: Makefile.bor Makefile.dj2 <br>
Makefile.emx Makefile.msc <br> Makefile.tc <br> ./: Makefile.bor Makefile.dj2 Makefile.emx Makefile.msc <br> Makefile.tc <br> cm3/m3-sys/m3cc/gcc-4.7/zlib/old/: Makefile.riscos README <br> descrip.mms visual-basic.txt <br> zlib.html <br> ./: Makefile.riscos README descrip.mms visual-basic.txt <br> zlib.html
<br> cm3/m3-sys/m3cc/gcc-4.7/zlib/old/os2/: Makefile.os2 zlib.def <br> ./: Makefile.os2 zlib.def <br> cm3/m3-sys/m3cc/gcc-4.7/zlib/projects/: README.projects <br> ./: README.projects <br> cm3/m3-sys/m3cc/gcc-4.7/zlib/projects/visualc6/: README.txt <br> example.dsp <br> minigzip.dsp <br>
zlib.dsp <br> zlib.dsw <br> ./: README.txt example.dsp minigzip.dsp zlib.dsp zlib.dsw <br> cm3/m3-sys/m3cc/gcc-4.7/zlib/qnx/: package.qpg <br> ./: package.qpg <br> cm3/m3-sys/m3cc/gcc-4.7/zlib/win32/: DLL_FAQ.txt Makefile.bor <br> Makefile.emx Makefile.gcc <br> Makefile.msc VisualC.txt <br>
zlib.def zlib1.rc <br> ./: DLL_FAQ.txt Makefile.bor Makefile.emx Makefile.gcc <br> Makefile.msc VisualC.txt zlib.def zlib1.rc <br><br>Log message:<br> remove use of gmp and zlib<br> removal of gmp does have a little collateral damage in lost<br> optimizations -- value range propagation (vrp) and some loop<br> optimizations (gmp used in calculating how many times<br> loops run)<br> zlib is only for LTO, which we don't use anyway<br> remove some dead stuff wrt collect, ppl, cloog<br><br></div></blockquote></td></tr></tbody></table></div></blockquote></div></div></blockquote></td></tr></tbody></table></div></td></tr></table>