Skip to content

Rick Roll Language is a rickroll based, process oriented, dynamic, strong, esoteric programming language. All of the keywords/statements are coming from Rick Astley's lyrics.

License

Notifications You must be signed in to change notification settings

Valcan3344/rickroll-lang

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rick Roll Programming Language

Build Python License
Rick Roll Programming Language, a language for rickrolling!

Offcial Discord Server/Support

https://discord.gg/yzZ3MfGZ8A Join this server to chat with cool people or for support
We currently need some people to join! Discord-Logo+Wordmark-Black

Credit: Rick Astley

Youtube: https://www.youtube.com/channel/UCuAXFkgsw1L7xaCfnd5JJOw
Twitter: https://twitter.com/rickastley
Facebook: https://www.facebook.com/RickAstley![4a27ae00-b73b-11eb-801b-36dd1756dc93](https://user-images.githubusercontent.com/86417658/151287317-61f548dc-114d-4f7c-911b-18cf4dbc4a5b.png)

Hello World

The syntax of RickRoll-Lang is not completely similar to Python

  1. It doesn't need indentation
  2. The code must be written inside the main method, otherwise the interpreter will not execute
  3. Every identifier (function or variable name) should contain more than one character
  4. The keywords can be separated freely

Rick Roll-Lang:

take me to ur heart
    give msg up "Never gonna give you up, never gonna let you down~\n"
    i just wanna tell u how im feeling msg
say goodbye

Equivalent to Python

if __name__ == '__main__':
  msg = "Never gonna give you up, never gonna let you down~\n"
  print(msg, end='')

Equivalent to C++

#include<iostream>
using namespace std;
int main(int argc, char* argv[]){
    string msg = "Never gonna give you up, never gonna let you down~\n";
    cout<<msg;
}

And you can get the output on your terminal:
Sorry, it's this:

Never gonna give you up, never gonna let you down~

The keywords can be separated freely

takemetourheart
    give msg up "Never gonna give you up, never gonna let you down~\n"
    i justwanna telluhowim feeling msg
say good bye

This is also executable

Run Code

Execute by converting .rickroll to Python

python3 RickRoll.py -py [Source Code File Name]

Execute by converting .rickroll to C++ (Requires g++ compiler and has numerous bugs)

python3 RickRoll.py -cpp [Source Code File Name]

Execute by interpreter

python3 RickRoll.py -intpr [Source Code File Name]

If you want to know the execution time:

Add "--time"

python3 RickRoll.py -py [Source Code File Name] --time

Generate and play an audio from .rickroll

python3 RickRoll.py -py [Source Code File Name] --audio

Features

Generate Audio

How to use this generator:

python3 RickRoll.py -r [Source Code File Name] --audio

This generates an audio from the .rickroll program and plays it in your terminal

Requirements

Documentation

We don't usually update The Chinese Documentation / 中文文档

English
简体中文

Todo!

In order to make RICK ROll becoming a world heritage, YOU and I still have a bunch of things to do!

  1. Add more keywords and built-in functions!
  2. Write algorithms in RickRoll-Lang and upload them to examples folder.
  3. Make syntax highlights for VS Code and Sublime!
  4. Improve the current audio generator!
  5. Improve the RickRoll interpreter!
  6. Support "writing code by singing"!
  7. Design a better icon!
  8. SPREAD RICK ROLL EVERYWHERE!!!

Rick Roll Language Website

https://rickroll-lang.tech/introduction/

Contributors

Contact

Wechat/微信: githubsherlockcxk
Discord: Satin Wuker#0572
Valcan#1407

About

Rick Roll Language is a rickroll based, process oriented, dynamic, strong, esoteric programming language. All of the keywords/statements are coming from Rick Astley's lyrics.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%