COBOL stands for Common Business-Oriented Language, and is an extremely verbose language designed purposely to be understandable to managers. Everything in COBOL reads like it does, which makes it hard to work with. A fair portion of the financial world still runs on COBOL, in some cases using programs nearing their 60th year of existence. And someone wrote a way to use it write code for Vulkan.
Here’s the Github repository. The About blurb says it’s the shader language you didn’t know you needed. With due respect, that’s because no one ever needed it, but it’s still a fun thing that exists.
I admit, it’s weak to use a screenshot of a Github page in a post about a shader language.
There appear to be no examples of output online. I had a look at building it myself, but my distro doesn’t seem to have the necessary programs to do that. Would any of you care to give it a try?
Still December, still in low-impact posting mode. I figured I’d tell you all about interactive fiction authoring system Inform 7, which still feels new in my mind despite coming out 17 years ago.
I say “Inform 7” to distinguish it from previous versions, which were a very different system. Inform 6 was a cryptic C-style programming language; Inform 7 source code reads like English. Radically so:
A bit of Zork implemented in Inform 7.
I’ve long wanted to learn Inform 7 and create something interesting with it, but every time I do I run into a thick wall of error messages. I feel it’s important to emphasize, from my own experiences trying to code with Inform 7, that this apparent ease-of-use is completely fake. It reads like English, and does what it appears to say. But in fact it’s written in extremely fiddly and precise English. It’s still all programming language, with a precise syntax, it’s just a syntax that makes it readable to both humans and the computer. In this way, it’s like Ultra COBOL.
And yet, reading it is useful to understanding it in an intuitive sense that’s untrue of many programming languages. It eschews the usage of punctuation for random coder things, in the abhorrent C style. Yeah, I said it, I’ve wrestled with C syntax more than once, I even generally understand it, but I really don’t like it.
Inform 7 used to have a great website, at inform7.com, where it could both be obtained and had great examples. That site is gone now, replaced with a GitHub page that is also pretty great, but since it, like all GitHub sites, is relying on the largess of Microsoft, and subject to the eventual enshittification that inevitably affects all corporate-owned hosting, it feels like less than the original. Ah well.
That site contains the Inform 7 documentation, which has a wealth of examples for learning how to use it. Alex Proudfoot runs another GitHub site, Inform 7 Examples, which contains that after which it is named.
This post risks defeating the entire purpose of making low-effort content during a busy time of year, suffice to say this is an unusually-deep rabbit hole of which much more deserves to be said. Later.