<br><br><div class="gmail_quote">On Thu, Dec 20, 2012 at 12:18 PM, <span dir="ltr"><<a href="mailto:chris@gcjd.de-web.ws" target="_blank">chris@gcjd.de-web.ws</a>></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>
>It compiles Oberon-2 to C (in a difficult form) and from there<br>
>to object code. I think it would be very interesting to modify<br>
>its front end to go directly to gcc's intermediate code the<br>
>register transfer language (RTL) and to integrate it completely<br>
>into the compiler collection as has been done for Modula-2 by<br>
>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 <<a href="http://llvm.org/docs/LangRef.html" target="_blank">http://llvm.org/docs/LangRef.html</a>> 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't know how it compares to other C front ends </div>
</div><br clear="all"><div><br></div>-- <br><font face="'times new roman', 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="'times new roman', serif">(512)-348-7401</font></span></div>
</div><div><div><br></div></div>