r/esolangs • u/random_dev1 • 1d ago
Ever thought about programming a steam machine?
When people say that a language is close to the metal, they usually mean silicon. But you don't even get to touch that metal and it usually just hums a bit and doesn't cause any harm. So I thought I would create something that would make you feel the machine and work with the metal.
Introducing: Finite Steam Machine !

In this language (and I should probably include interpreter, because the language alone doesn't have any meaning if we ignore the underlying machine) you have to manage resources like coal, water and steam because the instructions rely on steam pressure to get executed. At a first glance it might look like your average stack based eso lang, but try to implement conditional branching and you'll see the true nature of this thing.
Your instructions are positioned on a belt which can move back and forth, you use a steam press for many different instructions, you use pressure to pump more water into the boiler and you control your pressure with valves. Be sure to control it or you might end up with your boiler exploding.
So, why would one want to use this thing?
Well, it's fun! You can come up with a ton of possible solutions when implementing something even as simple as a while loop. It provides a different perspective on programing because you can use the machines properties to your advantage.
Go try it out! And feel encouraged to send your programs in as a PR, if it works correctly I'll add it to the examples, and besides that I would be very interested in what one can make with this language!
There was no AI used in this project in case you care. Any code, text (this post, doc.) or images (the icon) you see in the repo were created by me. I hope it's obvious why you wouldn't use AI for such a project. Code can be art. I stand by this. The code for this project isn't perfect, it really isn't, look at the parser, because this is a project I made for fun. I'm telling people about it because maybe someone else will have fun with it too.
With all of that said, do that! Have fun! I'd love to hear what you think about it.
