Rick Roll Programming Language, a language for rick roll!
"葫芦娃"语言,一个为了诈骗而诞生的编程语言。
Rick Roll-Lang:
take_me_to_ur_heart # This is the MAIN METHOD
give_u_up msg = "Never gonna give you up, never gonna let you down~" # Define a variable
i_just_wanna_tell_u_how_im_feeling msg # print the "msg" variable
say_good_bye # End the main method
Equivalent to Python
if __name__ == '__main__':
msg = "Never gonna give you up, never gonna let you down~"
print(msg)
And you can get the output on your terminal:
Sorry, it's this:
Never gonna give you up, never gonna let you down~
- Turing-complete
- Support python 3.5+
- Keywords/statements are all comming from Rick Astley's lyrics
- Examples to get started
- Translate .rickroll source code to python 3
I usually execute my source code like this:
python3 rickroll.py -s [Source Code File Name]
If you want to know the execution time:
python3 rickroll.py -s [Source Code File Name] -time
The interpreter can generate a .mp3 file from your source code (This feature is not completed yet)
python3 rickroll.py -s [Source Code File Name] -mp3
Also the interpreter provides you to "sing" code (This feature is not completed yet)
python3 rickroll.py -sing [MP3 File Name] [Source Code(Text) File Name]
In order to make RICK ROll becoming a world heritage, YOU and I still have a bunch of things to do!
- Add more keywords and built-in functions!
- Write algorithms in RickRoll-Lang and upload them to examples folder.
- Make highlight for VS Code, PyCharm, and Subline!
- Write an audio generator!
- Support "writing code by singing"!
- Design a better icon!
- Translate RickRoll to JavaScript, C/C++, and C#!
- SPREAD RICK ROLL EVERYWHERE!!!
https://rickroll-lang.tech/introduction/
Here are Rick Astley's songs in my website, you can download them from my website
https://rickroll-lang.tech/songs/
- Sherlockcxk (Writing code)
- Lemonix-xxx (Making suggestions/advice)
- Email: cxk53cn@gmail.com
- Gitee: https://gitee.com/cxk-53
- Wechat/微信: githubsherlockcxk