- This language is in its testing period, we will probably change some keywords.
- We don't usually update The Chinese Documentation / 中文文档
- Also, I am a little bit buzy these days, so I am not going to update rickroll-lang recently :(
Rick Roll Programming Language, a language for rickrolling!
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.6+
- Keywords/statements are all comming from Rick Astley's lyrics
- Examples to get started
- Translate .rickroll source code to Python3 and C++
I usually execute my source code like this:
python3 RickRoll.py -r [Source Code File Name]
If you want to know the execution time:
python3 RickRoll.py -r [Source Code File Name] --time
If you want to translate RickRoll to C++: (Requires g++ compiler)
python3 RickRoll.py -r [Source Code File Name] --cpp
OR
python3 RickRoll.py -r [Source Code File Name] --c++
The interpreter can generate a .mp3 file from your source code (This feature is not completed yet)
python3 RickRoll.py -r [Source Code File Name] -audio [audio_file_name]
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 syntax highlights for VS Code, PyCharm, and Sublime!
- Write an audio generator!
- Support "writing code by singing"!
- Design a better icon!
- Translate RickRoll to JavaScript, C, and C#!
- SPREAD RICK ROLL EVERYWHERE!!!
Address:
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)
- StepfenShawn (Revised typos in source code && fixed bugs)
- henriqueritter (Contributed to RickRoll example)