Giter Club home page Giter Club logo

rickroll-lang's Introduction

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 Discord-Logo+Wordmark-Black

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.