<?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: Banana Cool</title>
    <description>The latest articles on DEV Community by Banana Cool (@banana_cool).</description>
    <link>https://dev.to/banana_cool</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%2F3999768%2F8274d6d1-4f55-4699-a7fb-d5551174e49c.png</url>
      <title>DEV Community: Banana Cool</title>
      <link>https://dev.to/banana_cool</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/banana_cool"/>
    <language>en</language>
    <item>
      <title>I am making a programming language</title>
      <dc:creator>Banana Cool</dc:creator>
      <pubDate>Wed, 24 Jun 2026 04:37:08 +0000</pubDate>
      <link>https://dev.to/banana_cool/i-am-making-a-programming-language-4d9d</link>
      <guid>https://dev.to/banana_cool/i-am-making-a-programming-language-4d9d</guid>
      <description>&lt;p&gt;Hi everyone! I’m currently building a custom programming language called &lt;strong&gt;Swiq&lt;/strong&gt; using C++. &lt;/p&gt;

&lt;p&gt;Most modern languages rely entirely on standard garbage collection or strict block scoping. When I designed Swiq, I wanted to give developers first-class semantic keywords to handle state management natively at the language level.&lt;/p&gt;

&lt;h3&gt;
  
  
  What makes Swiq unique?
&lt;/h3&gt;

&lt;p&gt;Swiq tracks both the current state and the instantiation state of your data. Here are a few unique features I've built into the memory management system:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;Native Archiving:&lt;/strong&gt; You can stash a variable away into a hidden memory space and safely pull it back whenever you need it.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Instant Resetting:&lt;/strong&gt; Swiq remembers the initial value used when a variable was first created, allowing you to instantly reset it to its default state.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Explicit Closures:&lt;/strong&gt; Functions allow explicit variable closure capturing, much like C++ lambdas.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  A Quick Look at the Syntax
&lt;/h3&gt;

&lt;p&gt;Here is a quick look at how clean it is to handle variable states, archiving, and resetting in Swiq:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;set var score = 100;

// Modify it
set score = 150;

// Need a backup state? Archive it!
archive score; 

// Score is now safely stashed away. Bring it back natively:
restore score;

// Want to revert to the very first value?
reset score; // score is now back to 100
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Check out the project!
&lt;/h3&gt;

&lt;p&gt;Swiq is an open-source project and is still actively under development. I built the custom interpreter and Abstract Syntax Tree (AST) completely from scratch in C++.&lt;/p&gt;

&lt;p&gt;You can check out the source code, read the documentation, or contribute here:&lt;br&gt;
👉 &lt;strong&gt;&lt;a href="https://github.com/bananakitssu/Swiq" rel="noopener noreferrer"&gt;github.com/bananakitssu/Swiq&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;I would love to hear your thoughts on this approach to state management. What features or use cases would you like to see next?&lt;/p&gt;

</description>
      <category>programming</category>
      <category>cpp</category>
    </item>
  </channel>
</rss>
