A recurring complaint when learning a programming language is its distance from a normal language. Some expressions are truly strange, and the learning curve can be quite steep. However, there are projects like Rockstar, a programming language whose structure is based on something very similar to rock songs. If for some reason there was a missing candidate for the Ig Nobel prizes, I think we have it here.

Rockstar: A programming language with the grammar of song lyrics
Rockstar

According to the text published on the official page, Rockstar gives the potential programmer an unprecedented level of poetic license in the composition and general structure of their programs. At the same time, it recommends not using any kind of comments to allow the audience to "find their own meaning" in the code, but if necessary, it is possible to place comments in parentheses. After all, the idea behind Rockstar is not to take power away from programmers, but to allow them to call themselves "Rockstar programmers" with a little more justification. (?)

Let's see: if someone writes "Tommy was a lean mean wrecking machine", that line initializes the variable Tommy with a value of 14487. Common variables are based on "a", "an", "the", "my", or "your", followed by a unique name, which must always use lowercase ASCII characters. Proper variables are any keyword that has not been reserved and starts with an uppercase letter. In the previous case, Tommy is one of those variables, and the folks behind Rockstar recommend alternatives like Gina, Doctor Feelgood, Mister Crowley, Kayleigh, Tom Sawyer, Billie Jean or Janie. The type system in Rockstar is very similar to what ECMAScript defines, with slight adjustments. For example, "undefined" is not a word very associated with rock, so it was replaced with "Mysterious", which is much more appropriate.

Rockstar: A programming language with the grammar of song lyrics
Rockstar

If you want to know more about this fabulous programming language, you should visit its GitHub profile. Conditionals, loops, blocks, functions, and special implementations (Rockstar to JavaScript or Rockstar to Python), everything is there. Its creator Dylan Beattie took the trouble to develop a fairly complete programming language despite its comedic profile, and in the future we may see entire programs written as rock songs, although someone will have to take care of the music...

Official site: