<?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>Forem: funcieqDEV</title>
    <description>The latest articles on Forem by funcieqDEV (@funcieqdev).</description>
    <link>https://forem.com/funcieqdev</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.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3251745%2F4e8e55fb-94e0-4012-bac6-919375ddbde5.png</url>
      <title>Forem: funcieqDEV</title>
      <link>https://forem.com/funcieqdev</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/funcieqdev"/>
    <language>en</language>
    <item>
      <title>Own programming language for SSG</title>
      <dc:creator>funcieqDEV</dc:creator>
      <pubDate>Sat, 07 Jun 2025 23:56:36 +0000</pubDate>
      <link>https://forem.com/funcieqdev/own-programming-language-for-ssg-7l8</link>
      <guid>https://forem.com/funcieqdev/own-programming-language-for-ssg-7l8</guid>
      <description>&lt;p&gt;I wrote my own programming language that allows for much more efficient and time-saving writing of static webistes. It is written in rust for maximum speed &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Atra&lt;/strong&gt; Because that's what we're talking about now. It's a programming language that compiles to html, but allows you to use components, has a C-like syntax, It has built functions like %loop(3){}&lt;/p&gt;

&lt;p&gt;Simple page in Atra(more fomplex example &lt;a href="https://github.com/funcieqDEV/Atra/tree/main/examples/atra_showcase" rel="noopener noreferrer"&gt;https://github.com/funcieqDEV/Atra/tree/main/examples/atra_showcase&lt;/a&gt;)&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;text("&amp;lt;!DOCTYPE html&amp;gt;");
html(lang="en"){
    head(){
        meta(charset = "utf-8);
        title(){
            text("Document");
        }
    }
    body(){
        p(){
            text("Hello world");
        }
    }
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;the component system allows us to use code written once many times, so let's add a component to the previous code&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$describe(What,Description){
    h3(){text("{What}";)}
    p(){text("{Desription}");}
}

text("&amp;lt;!DOCTYPE html&amp;gt;");
html(lang="en"){
    head(){
        meta(charset = "utf-8);
        title(){
            text("Document");
        }
    }
    body(){
        p(){
            text("Hello world");
        }

        %each("apple", "Orange", "Tomato" , "Tangerine"){
           $describe(item, "Small round and to the mouth");
        }
    }
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;As you can see, each component must start with $&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>programming</category>
      <category>html</category>
      <category>rust</category>
    </item>
  </channel>
</rss>
