<?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: austrian1painter</title>
    <description>The latest articles on DEV Community by austrian1painter (@austrian1painter).</description>
    <link>https://dev.to/austrian1painter</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%2F4004235%2Faad11be8-7858-4b13-bd74-6a26cdb24c20.png</url>
      <title>DEV Community: austrian1painter</title>
      <link>https://dev.to/austrian1painter</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/austrian1painter"/>
    <language>en</language>
    <item>
      <title>My Own Programming Language W-Language v0.2</title>
      <dc:creator>austrian1painter</dc:creator>
      <pubDate>Fri, 26 Jun 2026 15:35:04 +0000</pubDate>
      <link>https://dev.to/austrian1painter/my-own-programming-language-w-language-v02-4ihg</link>
      <guid>https://dev.to/austrian1painter/my-own-programming-language-w-language-v02-4ihg</guid>
      <description>&lt;p&gt;For the past few months, I've been building my own programming language called &lt;strong&gt;W-Language&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;The primary goal of this project is to learn how programming languages work internally by implementing every major component myself instead of relying on existing compiler frameworks.&lt;/p&gt;

&lt;p&gt;Version &lt;strong&gt;0.2&lt;/strong&gt; has just been completed, marking the biggest update since the project began.&lt;/p&gt;




&lt;h2&gt;
  
  
  ✨ Features
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;64-bit Runtime&lt;/li&gt;
&lt;li&gt;Custom Virtual Machine (W-VM)&lt;/li&gt;
&lt;li&gt;Custom Bytecode Format (WVM2)&lt;/li&gt;
&lt;li&gt;Recursive Descent Parser&lt;/li&gt;
&lt;li&gt;Lexer written from scratch&lt;/li&gt;
&lt;li&gt;Abstract Syntax Tree (AST)&lt;/li&gt;
&lt;li&gt;Bytecode Compiler&lt;/li&gt;
&lt;li&gt;Bytecode Loader&lt;/li&gt;
&lt;li&gt;Foreign Function Interface (FFI)&lt;/li&gt;
&lt;li&gt;Integer Support&lt;/li&gt;
&lt;li&gt;Floating Point Support&lt;/li&gt;
&lt;li&gt;Boolean Support&lt;/li&gt;
&lt;li&gt;String Support&lt;/li&gt;
&lt;li&gt;Variables&lt;/li&gt;
&lt;li&gt;Functions&lt;/li&gt;
&lt;li&gt;Function Calls&lt;/li&gt;
&lt;li&gt;&lt;code&gt;if / else&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;while&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;return&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Built-in &lt;code&gt;print()&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🏗 Architecture
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Source Code
      │
      ▼
    Lexer
      │
      ▼
    Parser
      │
      ▼
      AST
      │
      ▼
 Code Generator
      │
      ▼
 WVM2 Bytecode
      │
      ▼
    Loader
      │
      ▼
 Virtual Machine
      │
      ▼
 Program Execution
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  🔥 What's New in v0.2
&lt;/h2&gt;

&lt;p&gt;This release was almost a complete rewrite.&lt;/p&gt;

&lt;p&gt;Major improvements include:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Full migration to a 64-bit runtime&lt;/li&gt;
&lt;li&gt;Replaced the old runtime representation with &lt;code&gt;std::variant&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Improved Virtual Machine architecture&lt;/li&gt;
&lt;li&gt;New WVM2 binary format&lt;/li&gt;
&lt;li&gt;Improved parser&lt;/li&gt;
&lt;li&gt;Improved code generation&lt;/li&gt;
&lt;li&gt;Better runtime diagnostics&lt;/li&gt;
&lt;li&gt;Cleaner project structure&lt;/li&gt;
&lt;li&gt;Migrated from &lt;code&gt;.h&lt;/code&gt; to &lt;code&gt;.hpp&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Better FFI implementation&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  📦 Technologies
&lt;/h2&gt;

&lt;p&gt;The project is written entirely in &lt;strong&gt;Modern C++17&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Main concepts used:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;code&gt;std::variant&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Smart pointers&lt;/li&gt;
&lt;li&gt;Recursive Descent Parsing&lt;/li&gt;
&lt;li&gt;Bytecode Compilation&lt;/li&gt;
&lt;li&gt;Virtual Machine Design&lt;/li&gt;
&lt;li&gt;Stack Frames&lt;/li&gt;
&lt;li&gt;Runtime Value System&lt;/li&gt;
&lt;li&gt;Binary Serialization&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🎯 Why I Built It
&lt;/h2&gt;

&lt;p&gt;This project is mainly for learning.&lt;/p&gt;

&lt;p&gt;Instead of using existing compiler frameworks, I wanted to understand how programming languages actually work internally.&lt;/p&gt;

&lt;p&gt;During development I learned about:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Lexical Analysis&lt;/li&gt;
&lt;li&gt;Parsing&lt;/li&gt;
&lt;li&gt;AST Construction&lt;/li&gt;
&lt;li&gt;Compiler Design&lt;/li&gt;
&lt;li&gt;Bytecode Generation&lt;/li&gt;
&lt;li&gt;Virtual Machines&lt;/li&gt;
&lt;li&gt;Runtime Systems&lt;/li&gt;
&lt;li&gt;Binary File Formats&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🚀 Roadmap
&lt;/h2&gt;

&lt;p&gt;Planned features for &lt;strong&gt;v0.3&lt;/strong&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Arrays&lt;/li&gt;
&lt;li&gt;Objects&lt;/li&gt;
&lt;li&gt;Additional operators&lt;/li&gt;
&lt;li&gt;Expanded Standard Library&lt;/li&gt;
&lt;li&gt;VM optimizations&lt;/li&gt;
&lt;li&gt;More native functions&lt;/li&gt;
&lt;li&gt;Performance improvements&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  📂 GitHub
&lt;/h2&gt;

&lt;p&gt;The project is fully open source.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Repository:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/austrian1painter/W_lang" rel="noopener noreferrer"&gt;https://github.com/austrian1painter/W_lang&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Feedback, suggestions and code reviews are always welcome.&lt;/p&gt;

&lt;p&gt;I'm still learning compiler and language implementation, so constructive criticism is greatly appreciated.&lt;/p&gt;

&lt;p&gt;Thanks for reading! 🚀&lt;/p&gt;

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