<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>ByteLabs: SL Compiler Progress</title>
    <link>http://blog.solaris.bytelabs.org/articles/2006/10/02/sl-compiler-progress</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>additions to a vast pool of entropy by Igor and Ines</description>
    <item>
      <title>SL Compiler Progress</title>
      <description>&lt;p style="float:left"&gt;&lt;a href="http://www.ssw.uni-linz.ac.at"&gt;&lt;img src="http://www.ssw.uni-linz.ac.at/sswstyle/Menu/Menu01.png" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;


	&lt;p&gt;A little while ago &lt;a href="http://blog.bytelabs.org/articles/2006/03/27/type-checker-for-sl-simple-language"&gt;I posted&lt;/a&gt; that I started working on a compiler for the &lt;a href="http://www.ssw.uni-linz.ac.at/Teaching/Lectures/UB2/Projekt.pdf"&gt;SL&lt;/a&gt; language. As the name suggests it is a &lt;strong&gt;S*imple&lt;/strong&gt;L*anguage. First I started out and implemented a complete type checker. Now I have also finished the &lt;a href="http://en.wikipedia.org/wiki/Abstract_syntax_tree"&gt;&lt;span class="caps"&gt;AST&lt;/span&gt;&lt;/a&gt; generation phase. It is really neat and the code looks very good as well.&lt;/p&gt;


	&lt;p&gt;There is also a nice feature where you can dump your &lt;a href="http://en.wikipedia.org/wiki/Symbol_table"&gt;symbol table&lt;/a&gt; and &lt;span class="caps"&gt;AST&lt;/span&gt; as &lt;a href="http://en.wikipedia.org/wiki/XML"&gt;&lt;span class="caps"&gt;XML&lt;/span&gt;&lt;/a&gt; and then analyze various things. Oh well, I far from finished though since the next step, namely &lt;a href="http://en.wikipedia.org/wiki/Code_generation"&gt;code generation&lt;/a&gt; is still missing. The only thing I dislike is that I have to generate code for the &lt;a href="http://en.wikipedia.org/wiki/Intel"&gt;Intel&lt;/a&gt; architecture. I would much rather generate code for a nice &lt;a href="http://en.wikipedia.org/wiki/RISC"&gt;&lt;span class="caps"&gt;RISC&lt;/span&gt;&lt;/a&gt; architecture but that&amp;#8217;s life. Well, I should better catch up on my reading and get away from the computer for today&amp;#8230;&lt;/p&gt;</description>
      <pubDate>Mon, 02 Oct 2006 22:23:00 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:cd6a68dcecd2b51100a23748168476c5</guid>
      <author>igor</author>
      <link>http://blog.solaris.bytelabs.org/articles/2006/10/02/sl-compiler-progress</link>
      <category>Everyday Life</category>
      <category>Fun Stuff</category>
      <category>Hacking and Computers</category>
      <trackback:ping>http://blog.solaris.bytelabs.org/articles/trackback/65</trackback:ping>
    </item>
  </channel>
</rss>
