abcdefghijklmnopqrstuval / rickroll-lang

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.

Home Page:https://rick-lang.github.io/rickroll-lang/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rick Roll Programming Language

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

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. 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

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.

https://rick-lang.github.io/rickroll-lang/

License:MIT License


Languages

Language:Python 100.0%