<br><br><div class="gmail_quote">On Thu, Dec 20, 2012 at 12:18 PM,  <span dir="ltr">&lt;<a href="mailto:chris@gcjd.de-web.ws" target="_blank">chris@gcjd.de-web.ws</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">Treutwein Bernhard wrote:<br>
&gt;It compiles Oberon-2 to C (in a difficult form) and from there<br>
&gt;to object code. I think it would be very interesting to modify<br>
&gt;its front end to go directly to gcc&#39;s intermediate code the<br>
&gt;register transfer language (RTL) and to integrate it completely<br>
&gt;into the compiler collection as has been done for Modula-2 by<br>
&gt;Gaius Mulley.<br>
<br>
</div>I would recommend aagainst this way unless you are experienced with gcc<br>
internals already. ;-)<br>
<br><br>
Probably easier to handle is llvm (<a href="http://llvm.org" target="_blank">llvm.org</a>) which has a well defined<br>
SSA intermediate language &lt;<a href="http://llvm.org/docs/LangRef.html" target="_blank">http://llvm.org/docs/LangRef.html</a>&gt; which is<br>
somewhat stable over the years.<br>
<br></blockquote><div><br></div><div>lcc is a retargetable ANSI C compiler.  There is a book that describes every line of code, the source is on the net, and there is an active community making various back ends.  The book and source appear to be designed and cleanly written.  I don&#39;t know how it compares to other C front ends </div>
</div><br clear="all"><div><br></div>-- <br><font face="&#39;times new roman&#39;, serif">Aubrey McIntosh, Ph.D.<br>211 E. 5th St.<br>Morris MN 56267</font><div><div><span style="line-height:20px;background-color:rgb(255,255,255)"><font face="&#39;times new roman&#39;, serif">(512)-348-7401</font></span></div>
</div><div><div><br></div></div>