I Would Code Anything for Love (but I Won’t Code That)

Taking the term “Rockstar Programmer” to a new level—well, perhaps they’re half way there?—Dylan Beattie has developed a programming language called Rockstar that allows people to live their wildest dream of writing code that resembles a 1980s rock song: Rockstar is designed for creating computer programs that are also song lyrics, and is heavily influenced by the lyrical conventions of 1980s hard rock and power ballads.

A snippet of example code from Rockstar’s GitHub page illustrates that rock and roll never forgets.

They say the heart of rock and roll is still beating. And from what I’ve seen I believe ’em.

Rockstar is a Turing-complete programming language, so one can use it to simulate any Turing machine. And it goes on and on and on.

And if you’ve got too much time on your hands, perhaps you may even want to give it a try?

(Thanks to investigator Samuel Arbesman for bringing this to our attention.)

Note: The song that motivated the entry title is actually from the 1990s, and I hope you caught that. Rock on!