<?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: Vect</title>
    <description>The latest articles on DEV Community by Vect (@vectlang).</description>
    <link>https://dev.to/vectlang</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%2F4116258%2Fec2b1135-91cf-4a08-8a1c-fd379680f1b7.png</url>
      <title>DEV Community: Vect</title>
      <link>https://dev.to/vectlang</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/vectlang"/>
    <language>en</language>
    <item>
      <title>x10 means x = 10: I built my own programming language</title>
      <dc:creator>Vect</dc:creator>
      <pubDate>Tue, 08 Sep 2026 18:22:11 +0000</pubDate>
      <link>https://dev.to/vectlang/x10-means-x-10-i-built-my-own-programming-language-1j61</link>
      <guid>https://dev.to/vectlang/x10-means-x-10-i-built-my-own-programming-language-1j61</guid>
      <description>&lt;p&gt;I'm building a programming language called Vect. Its whole idea: stop repeating yourself. In Vect, this:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;x10
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;declares &lt;code&gt;x = 10&lt;/code&gt;. No &lt;code&gt;let&lt;/code&gt;, no &lt;code&gt;=&lt;/code&gt;, no semicolon. And this:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;(c.a+b)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;means &lt;code&gt;c = a + b&lt;/code&gt;. Every computation names its destination first.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why?
&lt;/h2&gt;

&lt;p&gt;Every language I used made me type the same boilerplate forever. So with my team we stripped it all out: 4-space indents instead of braces, one statement per line, memory/file/hardware primitives in the core language instead of libraries you have to go find.&lt;/p&gt;

&lt;h2&gt;
  
  
  A real program
&lt;/h2&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;vectfn add.a, b
    (sum.a+b)
    rtn sum

vectfn main
    (result.add 25, 75)
    echo result
main()
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Output: &lt;code&gt;100&lt;/code&gt;. Loops look like this:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;counter0
lo10
    echo counter
    (counter.counter+1)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;h2&gt;
  
  
  It's actually real
&lt;/h2&gt;

&lt;p&gt;This isn't screenshots of a dream — there's a compiler, &lt;code&gt;vectc&lt;/code&gt;, written in Zig. It compiles &lt;code&gt;.vt&lt;/code&gt; files to bytecode and runs them on a stack VM. You can even watch it think:&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;vectc --dump func.vt
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;And install it in two commands with Scoop:&lt;/p&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;scoop bucket add vect &lt;a href="https://github.com/MerixCipher/scoop-bucket" rel="noopener noreferrer"&gt;https://github.com/MerixCipher/scoop-bucket&lt;/a&gt;&lt;br&gt;
scoop install vect/vectc&lt;br&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;h2&gt;
&lt;br&gt;
  &lt;br&gt;
  &lt;br&gt;
  What's next&lt;br&gt;
&lt;/h2&gt;

&lt;p&gt;v0.2.4 brings a timing primitive and string escapes, then v0.2.5 starts the big one: rewriting the lexer in Vect itself.&lt;/p&gt;

&lt;p&gt;Links: &lt;a href="https://vect-7v7s.onrender.com" rel="noopener noreferrer"&gt;website&lt;/a&gt; · &lt;a href="https://vect-7v7s.onrender.com/docs.html" rel="noopener noreferrer"&gt;docs&lt;/a&gt; · &lt;a href="https://github.com/VectCode/VectLang" rel="noopener noreferrer"&gt;GitHub&lt;/a&gt; · &lt;a href="https://www.youtube.com/@VectLang" rel="noopener noreferrer"&gt;YouTube&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Tell me what looks wrong — I read everything.&lt;/p&gt;

</description>
      <category>showdev</category>
      <category>programming</category>
      <category>computerscience</category>
      <category>tutorial</category>
    </item>
  </channel>
</rss>
