Search results
Introducing Rockstar. Rockstar is a computer programming language designed for creating programs that are also hair metal power ballads. Here’s Fizzbuzz in Rockstar.
- Overview
- What's here?
- Implementations
- Social Spaces
- Media Coverage
- See Also
Rockstar is a dynamically typed computer programming language, designed for creating programs that are also song lyrics. Rockstar is heavily influenced by the lyrical conventions of 1980s hard rock and power ballads.
But why?
Mainly because if we make Rockstar a real (and completely pointless) programming language, then recruiters and hiring managers won't be able to talk about 'rockstar developers' any more.
Also 'cos it's kinda fun and any language based on the idea of compiling Meatloaf lyrics has to be worth a look, right?
The official reference implementation is Satriani - written in JavaScript, it runs in browsers and supports NodeJS for server-side and larger projects.
Rocky is a fully spec-compliant Rockstar implementation written in Java, and is currently the only Rockstar implementation that includes support for the DEC64 numeric type that was described in the original language specification.
Other implementations:
•rockstar-js - Rockstar-to-JavaScript transpiler
•rockstar-lexer - Rockstar lexer written in Haskell with Alex
•rockstar-java - Rockstar interpreter in Java
•Enterprise™ - "The world is not made only of Rockstar programmers. For all the non hipsters out there, now there's Enterprise™"
The Rockstar programming language specification. Contribute to RockstarLang/rockstar development by creating an account on GitHub.
Rockstar is specifically designed to allow the programmer to express the same set of operations in many different ways - that's part of what makes it fun; the challenge of coming up with programs that also look like vaguely plausible rock lyrics.
rockstar-feat-csharp - Embed Rockstar on your C# code using source-code generators. sellout - Rockstar to C# (dotnet core) transpiler. Tjark Gaudich has created Rockstar-C, a transpiler that translates a subset of ANSI C into the equivalent Rockstar code.
Type your Rockstar program here, or try these examples: fizzbuzz • 99 bottles of beer
Join Dylan Beattie - programmer, musician, and creator of the Rockstar programming language - for an entertaining look at the art of code. We’ll look at the origins of programming as an art form, from Conway’s Game of Life to the 1970s demoscene and the earliest Obfuscated C competitions.