Home

Awesome

<div id="top"></div>

Rick-Lang Official Repo Stats:

Contributors Forks Stargazers Issues MIT License

<!-- PROJECT LOGO --> <br /> <div align="center"> <a href="https://github.com/Rick-Lang/rickroll-lang"> <img src="https://raw.githubusercontent.com/Rick-Lang/rickroll-lang/main/img/newlogo.jpg" alt="Logo" width="300" height="300"> </a> <h3 align="center">Rickroll-Lang Guide and Scipts</h3> <p align="center"> An (unofficial) guide and list of scripts to show how to use the best programming language in the world because python's for losers and this is the real shit <br /> <a href="https://github.com/Rick-Lang/rickroll-lang"><strong>Language Source Code (Github) »</strong></a> <br /> <br /> <a href="https://discord.gg/A9VajuEPf7">Discord Server</a> · <a href="https://github.com/Rick-Lang/rickroll-lang/issues">Report Bug (Issues)</a> · <a href="https://rick-lang.github.io/rickroll-lang">Website</a> </p> </div>

!!! This is not complete yet !!!

<!-- TABLE OF CONTENTS --> <summary>Table of Contents</summary> <ol> <li> <a href="#getting-started">Getting Started:</a> <ul> <li><a href="#installation">Installation</a></li> <li><a href="#shell-script">Shell Script</a></li> <li><a href="#vscode-extension">VSCode Extension</a></li> <li><a href="#the-main-method">The Main Method</a></li> <li><a href="#ricklang-files">Rickroll-Lang Files</a></li> <li><a href="#hello-world">Hello World</a></li> </ul> </li> <li><a href="https://github.com/FusionSid/Rick-Lang-Scripts/blob/master/variables/variables.md.md">Variables:</a></li> <ul> <li><a href="https://github.com/FusionSid/Rick-Lang-Scripts/blob/master/variables/variables.md#datatypes">Example</a></li> <li><a href="https://github.com/FusionSid/Rick-Lang-Scripts/blob/master/variables/variables.md#datatypes">Datatypes</a></li> </ul> <li><a href="https://github.com/FusionSid/Rick-Lang-Scripts/blob/master/printing/printing.md">Printing:</a></li> <ul> <li><a href="https://github.com/FusionSid/Rick-Lang-Scripts/blob/master/printing/printing.md#example">Example</a></li> </ul> <li><a href="https://github.com/FusionSid/Rick-Lang-Scripts/blob/master/importing_py/importing.md">Importing:</a></li> <ul> <li><a href="https://github.com/FusionSid/Rick-Lang-Scripts/blob/master/importing_py/importing.md#example">Example</a></li> </ul> </ol>

Getting Started


Note: Language name is rickroll-lang but I find ricklang easier to say so I will use that in the examples but remember it is actualy rickroll-lang

Installation

The first thing you need to do to use this amazing language is to install it.

Currently the only way to get it, is to download from github. You can either git pull it or just download as zip.

Here is the link to the github repo/source code for the project

Here is the link to download as zip

Shell Script:

I have included a shell instalation script which will download the latest version of the rickroll language and install it as a command in your /usr/local/bin directory.

Usage:

Download the install.sh file
Run sudo bash install.sh
Make sure you run with sudo perms or it will not work

Also if you dont want to download the script and then run it like that you can just do it all in one line witht this: curl -s -L https://raw.githubusercontent.com/FusionSid/Rick-Lang-Scripts/master/install.sh | sudo bash

Now whenever you want to run ricklang code you do ricklang <filename> [*optional cli args]

Note: This only works on mac and linux

For windows @micfun123 made a bat script for this but im not sure if it works because I don't use windows and he said it didn't work when he tested it.

VSCode extension

This is not needed but this extension contains some snippets for the language it also provides syntax highlighting for otherwise plain-text files: Link to download


Ricklang files

Making a rickroll file is easy, just make a file and end it with .rickroll

Note: File names wont actually matter so .rr or .get_good or .you_suck_imma_rickroll_you will all work.
You can even use no file extension. (which I do sometimes when i'm lazy)


The main method

All code in rick lang MUST go inside the main method

You start the main method with take me to ur heart

And end it with say goodbye

Example:

take me to ur heart
    [code goes here]
say goodbye

Note:

Rickroll-Lang + Python

But: Rick-Roll-Lang is not the same as 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

Hello World

Next, Lets learn how to print "Hello World" to the console.

To print in rickroll-lang we use the keyword i just wanna tell u how im feeling

Example: i just wanna tell u how im feeling "Hello World"

So now that we know that lets put it into the main function and run it!

Code in rickroll-lang:

take me to ur heart
    i just wanna tell u how im feeling "Hello World\n"
say goodbye

Same code in Python:

if __name__ == '__main__':
  msg = "Hello World\n"
  print(msg, end='')

Same code in c++

#include <iostream>
using namespace std;
int main(int argc, char* argv[]) {
    cout << "Hello World!";
}

Congratulations! You just printed "Hello World" in rickroll-lang :)

Now you can look in the folders for examples and explanations for different things in rickroll-lang

<p align="right">(<a href="#top">back to top</a>)</p>
<!-- ACKNOWLEDGMENTS -->

Acknowledgments

This language was made by Satin Wuker:

The song "Never gonna give you up" was made by Rick Astley:

Source code / Github page for rickroll-lang

<p align="right">(<a href="#top">back to top</a>)</p>
<!-- MARKDOWN LINKS & IMAGES --> <!-- https://www.markdownguide.org/basic-syntax/#reference-style-links -->