<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Alessandro Napoli</title>
    <description>The latest articles on DEV Community by Alessandro Napoli (@alessandro_napoli_12).</description>
    <link>https://dev.to/alessandro_napoli_12</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3865888%2F187bbe4d-df33-4149-a662-0afb08afefe3.png</url>
      <title>DEV Community: Alessandro Napoli</title>
      <link>https://dev.to/alessandro_napoli_12</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/alessandro_napoli_12"/>
    <language>en</language>
    <item>
      <title>I'm building a compiler in Rust!!!</title>
      <dc:creator>Alessandro Napoli</dc:creator>
      <pubDate>Sat, 11 Jul 2026 16:26:36 +0000</pubDate>
      <link>https://dev.to/alessandro_napoli_12/im-building-a-compiler-in-rust-al6</link>
      <guid>https://dev.to/alessandro_napoli_12/im-building-a-compiler-in-rust-al6</guid>
      <description>&lt;p&gt;&lt;strong&gt;Hi&lt;/strong&gt;!&lt;br&gt;
I'm new to this platform and I want to make my first post.&lt;/p&gt;

&lt;p&gt;In these days, i'm writing my own compiler in Rust for a really simple custom language. The syntax is:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight rust"&gt;&lt;code&gt;&lt;span class="k"&gt;let&lt;/span&gt; &lt;span class="n"&gt;x&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;10&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="n"&gt;print&lt;/span&gt;&lt;span class="o"&gt;?&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"Hello, "&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="n"&gt;println&lt;/span&gt;&lt;span class="o"&gt;?&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;

&lt;span class="k"&gt;let&lt;/span&gt; &lt;span class="n"&gt;y&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s"&gt;"Hi"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="n"&gt;print&lt;/span&gt;&lt;span class="o"&gt;?&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;y&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="n"&gt;println&lt;/span&gt;&lt;span class="o"&gt;?&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;" Thom"&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;At the moment the variable declaration supports the u64 and the String type. The print?() are functions, but soon they'll become macro.&lt;/p&gt;

&lt;p&gt;Now, I'm writing the codegen and I'm stuck becouse of Assembly. I have to learn it! Never mind. In a few days, I'll complete it.&lt;/p&gt;

&lt;p&gt;Please, check the &lt;a href="https://github.com/AlessandrinoKeristraxxino/LampScript-Compiler" rel="noopener noreferrer"&gt;repository&lt;/a&gt; if you want (: &lt;/p&gt;

&lt;p&gt;Stay tuned OvO&lt;/p&gt;

</description>
      <category>rust</category>
      <category>compiling</category>
      <category>programming</category>
      <category>assembly</category>
    </item>
  </channel>
</rss>
