TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Rockstar: a language for programs that are also hair metal power ballads

341 pointsby skanderbmover 3 years ago

29 comments

pohlover 3 years ago
Check out this conference talk from December 2019 – &quot;The Art of Code&quot; – which culminates in a live performance of Fizzbuzz in Rockstar<p><a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=gdSlcxxYAA8" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=gdSlcxxYAA8</a>
评论 #29478916 未加载
评论 #29479883 未加载
评论 #29562555 未加载
评论 #29478442 未加载
评论 #29477263 未加载
hu3over 3 years ago
This is how Advent of Code day 7 solution looks like in Rockstar [1]:<p><pre><code> My plaything is your mind Cast my plaything into the void Listen to my heart Shatter my heart with the void Natsuki is frightened Yuri is gentleness Poems are invaluable Rock reality While my heart isn&#x27;t mysterious Roll my heart into the world Burn the world into my hope If my hope is less than Natsuki Let Natsuki be my hope If my hope is greater than Yuri Let Yuri be my hope Let Sayori be reality at my hope If Sayori is mysterious Sayori is hereabouts Build Sayori up Let reality at my hope be Sayori Build poems up My end is justifying My thoughts are knowledgable Let the volume be poems over my thoughts My hope is accessible Turn down the volume Build Yuri up While my hope is less than Yuri Let my target be reality at my hope If my target is not mysterious Let the volume be the volume without my target If my end is nothing If the volume is less than my end Let my end be my hope Build my hope up My hope is accessible My passion is literature My heart is courageous Knock my heart down While my hope is less than Yuri Let my poem be reality at my hope If my poem is not mysterious Let my fear be my end without my hope If my fear is as weak as my heart Let my fear be my fear of my heart Let my fear be my fear of my poem Let my passion be my passion with my fear Build my hope up Shout my passion </code></pre> [1] <a href="https:&#x2F;&#x2F;old.reddit.com&#x2F;r&#x2F;adventofcode&#x2F;comments&#x2F;rar7ty&#x2F;2021_day_7_solutions&#x2F;hnkbroh" rel="nofollow">https:&#x2F;&#x2F;old.reddit.com&#x2F;r&#x2F;adventofcode&#x2F;comments&#x2F;rar7ty&#x2F;2021_d...</a>
评论 #29478088 未加载
DonHopkinsover 3 years ago
Is there a Rockstar =&gt; Airline Food transpiler?<p><a href="https:&#x2F;&#x2F;esolangs.org&#x2F;wiki&#x2F;Airline_Food" rel="nofollow">https:&#x2F;&#x2F;esolangs.org&#x2F;wiki&#x2F;Airline_Food</a><p>&gt;Airline Food is an esoteric programming language created by User:Largejamie in April 2021 whose programs are supposed to look like Jerry Seinfeld&#x27;s stand-up.<p>Factorial: Takes an input from the user and outputs its factorial<p><pre><code> You ever notice this? What&#x27;s the deal with airline food? What&#x27;s the deal with it? Right? So... Um, Just like it. Yeah, Not like this. Moving on... Um, See?</code></pre>
amildieover 3 years ago
Thanks, OP, I can finally become that &#x27;Rockstar Developer&#x27; that companies are always looking for.
评论 #29478162 未加载
评论 #29492718 未加载
评论 #29481896 未加载
gordacoover 3 years ago
Nice to see people rediscovering this language from time to time. I wrote an interpreter for an early version several years ago, just for fun. Possibly my favourite esoteric language. I particularly love the philosophy of &quot;if you write even a single line of Rockstar, then you can consider yourself a full-fledged Rockstar programmer&quot; (I&#x27;m paraphrasing, but I remember something like that in some official documentation).
jamespwilliamsover 3 years ago
&gt; Tommy used to work on the docs.<p>Nice
评论 #29479324 未加载
评论 #29479991 未加载
评论 #29480245 未加载
krylonover 3 years ago
I was excited initially, but Hair Metal is an obvious no-go for me.<p>Although it could be fun to do &quot;reverse Perl poetry&quot;, and find Hard Rock &#x2F; Hair Metal songs whose lyrics are valid Rockstar code. That way, we could finally find out what that one special song really <i>means</i>.<p><pre><code> \m&#x2F; (&gt; &lt;) \m&#x2F;</code></pre>
评论 #29483178 未加载
评论 #29480469 未加载
评论 #29478436 未加载
syvonover 3 years ago
This reminds me of <a href="https:&#x2F;&#x2F;shakespearelang.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;shakespearelang.com&#x2F;</a>
philipswoodover 3 years ago
And then there&#x27;s the &quot;Enterprise&quot; programming language:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;joaomilho&#x2F;Enterprise" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;joaomilho&#x2F;Enterprise</a><p>So that you can rockstar at night, Enterprise by day until someone offers you the blue&#x2F;red pill.
captn3m0over 3 years ago
Website is blocked in India because CloudFlare has a terrible ISP in India: <a href="https:&#x2F;&#x2F;github.com&#x2F;RockstarLang&#x2F;codewithrockstar.com&#x2F;issues&#x2F;11" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;RockstarLang&#x2F;codewithrockstar.com&#x2F;issues&#x2F;...</a><p>I wrote a thread on why this keeps happening and why CloudFlare needs to fix it: <a href="https:&#x2F;&#x2F;twitter.com&#x2F;captn3m0&#x2F;status&#x2F;1468454402956533761" rel="nofollow">https:&#x2F;&#x2F;twitter.com&#x2F;captn3m0&#x2F;status&#x2F;1468454402956533761</a>
评论 #29483281 未加载
naltunover 3 years ago
The author of Rockstar gave a _fantastic_ presentation called The Art of Code, where he eventually introduces the language. I cannot praise the talk enough. It is available on YouTube.
motohagiographyover 3 years ago
Awe inspiring.<p>I recorded a song where the lyrics were a parsable brainfuck program after wondering if a) daftpunk&#x27;s higher bigger faster was turing complete, and b) whether the same was true of never gonna give you up. For me it was substituting high concept for talent, but what else are you going to do in pandemic lockdown.<p>Rockstar tho, this is next level.
评论 #29483083 未加载
rgrieselhuberover 3 years ago
I&#x27;ve always thought it would be cool if classical poetry turned out to be source code.
spikepuppetover 3 years ago
Hair Metal in the title had me interested, and this didn&#x27;t disappoint. Thanks OP.
plucover 3 years ago
&gt; The keywords it, he, she, him, her, they, them, ze, hir, zie, zir, xe, xem, ve, and ver refer to the last named variable determined by parsing order.<p>that was funny. let&#x27;s have more social constructs in programming languages!
评论 #29483685 未加载
sellerieover 3 years ago
Wow that sample code sounds 100% like DragonForce lyrics
anonymous_iover 3 years ago
Why is this blocked in India?<p>&quot;The website has been blocked as per order of Ministry of Electronics and Information Technology under IT Act, 2000.&quot;
评论 #29481275 未加载
leodrieschover 3 years ago
While it is probably not a very good idea to use this to code, it reminds me of something DHH once said about Ruby.<p>I don’t have the quote, but he said that he just loves the language because it is so fun to write for him, despite it not being the optimal language. And this alone makes him get into flow much more easily and therefore be more productive.<p>This alone has made me gain interest in learning Ruby. It might be slower than lots of languages out there, but backend computing power is often not the main bottleneck in your stack. Developer velocity is probably much more important when it comes to producing great software and moving fast.
评论 #29478784 未加载
评论 #29478176 未加载
评论 #29477866 未加载
gfalcaoover 3 years ago
I have not laughed to genuinely hard in a LONG LONG time, everything about this programming language rocks! (yes I did it)
a9h74jover 3 years ago
Do heavy metal lyrics in other spoken languages use postfix?<p>How does noun placement affect the poetics&#x2F;performance of metal?
mixmastamykover 3 years ago
Off to implement The Final Countdown…
togaenover 3 years ago
Greatest thing I have ever seen.
zanethomasover 3 years ago
haha, like for sure<p>i wrote a valgol language interpreter in the early 80s
singingfishover 3 years ago
is there a Rockstar to MIDI transpiler?
评论 #29483201 未加载
0x4d464d48over 3 years ago
Hehe, nice.<p>\m&#x2F;
obesacantavitover 3 years ago
Lol
评论 #29477629 未加载
ChrisArchitectover 3 years ago
(2019)
评论 #29479098 未加载
Tayweeover 3 years ago
How long before Take-Two Interactive sues for trademark?<p><a href="https:&#x2F;&#x2F;ttabvue.uspto.gov&#x2F;ttabvue&#x2F;v?pnam=Take-Two%20Interactive%20Software,%20Inc.%20%20" rel="nofollow">https:&#x2F;&#x2F;ttabvue.uspto.gov&#x2F;ttabvue&#x2F;v?pnam=Take-Two%20Interact...</a>
评论 #29478198 未加载
评论 #29477859 未加载
评论 #29478294 未加载
zerocountover 3 years ago
This is the dumbest thing I&#x27;ve ever seen in programming.