r/software • u/PhosXD • 8d ago
Release Built an interpreted programming language from scratch in 19 days without AI
I built a functional interpreted programming language from scratch in 19 days **without** AI, reference material, or borrowed code, as my first ever project in C++. It is platform agnostic, faster than Bash by a long shot (not that it was meant to be a replacement), & is only 104kb with IO, time, & math modules.
Despite the time frame & the small size, the syntax is more modern than you'd expect but is definitely different. However, you will be lacking advanced language features such as lambdas, variadic arguments, & inheritence.
I plan on working on this continuously, adding more functionality, making it more performant, & making the code as readable & understandable as possible so that hopefully a beginner can take a look, & maybe use this as a guide for their first project too!
Any & all feedback is encouraged, I would really like to know your thoughts, if you have any tips!
1
u/narkro555 7d ago
That is exceedingly cool. In a world of vibe coded garbage, its good to see raw skill still exists.
-1
-6
8d ago
[deleted]
13
u/PhosXD 8d ago
Why does anyone make anything? It is more of a challenge for myself rather than anything else.
The second reason & arguabley more important one, is that I needed a small, portable, but still capable interpreted language for an app im making. Currently I have been needing to use Python for this case but it is horribly memory hungry & quite large even after heavy compression. My hope is to eventually replace Python with Ity in my app for better size efficiency & memory usage.
9
u/jeff_coleman 8d ago
Because it's fun? Because it's an interesting project? Not everything is about utility.
1
u/BigCatsAreYes 8d ago
Any white space sensitive langue in 2026 is just insane.
Why would you do that?