Skip to main content

Bhailang - The language by and for Indian bros!

 Hi folks!

If you ever get bored of the same, everyday, hard-coded keyword coding style, take a look here -

- a toy language created by two Indian 'bros' - Aniket Singh from Amazon and Rishabh Tripathi from Groww.

The language combines "Bhai", a word in Hindi for 'brother' and "lang", short for 'Language', popular in the coding culture, to derive it's name.

The developers said "Bhailang" came up as idea from an insider joke.

Syntax

It is written in TypeScript, and has it's own well-defined syntax, but every statement contains the word 'bhai'.

The programs of bhailang begin with a "hi bhai" statement and end with "bye bhai".

bhailang.png
Bhailang (Source: bhailang.js.org)

Keywords

Bhailang uses keyword in Hindi language for it's purpose of programming.

Numbers and strings are used and created like other languages. While, Boolean values of True and False are represented by "sahi" and "galat" instead.

Compilation and Execution

If your code is error-free and executes correctly the compiler returns with a message saying Shandaar bhai! in green.

successful execution in bhailang
Successful execution (Source: bhailang.js.org)

But if the compiler encounters an error, it returns with a message saying Arre Bhai Bhai Bhai !!! in red.

error encountered in bhailang
Error encountered (Source: bhailang.js.org)

Installation instructions can be referred to from the website of Bhailang.

Reactions

The language has gone viral on the internet, even if just for fun, and receiving various comments from users around the world.

A user on twitter replied:

and another one said:

You can check out #bhailang on Twitter to follow up more. It's quite active at the time.

And memes like these too are surfacing:


Try it Out

If you want to really use Bhailang for projects, or just for fun, visit the website: bhailang.js.org. It is the official website of the language created by the developers. They also have an online playground there, just in case if you want to try it before downloading and installing the language to your systems.

For more details

You can visit the website or github page of "Bhailang":
Website: bhailang.js.org


Comments

Popular posts from this blog

3 best Minecraft-like free games for Android

Building and Crafting Games have been on a lot of people's favourites list, since the earliest days of gaming, from Minetest to Microsoft's Minecraft in it's various editions. But a lot of people don't have the opportunity to play Minecraft, majorly due to being unable to buy it. So, today I've got for you one of the few best minecraft-like games for you to enjoy on your own Android phones. 1. LokiCraft This game on the Play Store is available to freely download and play. Though it doesn't feature a multiplayer mode, the offline single player gameplay isn't bad. This game packs a lot to be discovered. Download Link: https://play.google.com/store/apps/details?id=com.ua.building.Lokicraft It has another version, Lokicraft 2. Download Link of 2nd Version: https://play.google.com/store/apps/details?id=com.ua.magicgames.artstudio.lokicraft2 But just beware of any other games that have similar names, like Lokicraft 3 or Lokicraft New Crafting Game, etc, etc. 2. Mu...

5 Ways to uninstall apps from your Android device

We've always been downloading, using and uninstalling new apps if we don't find them reaching them up to our expectations. That's a regular lifestyle of a tech savvy guy who's always eager to check out and possibly review every new app that gets released on the Play Store (for Android) or App Store (for Apple, i-devices). But did you ever wondered there are multiple ways to uninstall an app from your android device though you might be knowing and using only a couple of them. But note that you can't uninstall system apps. These are those app which came preinstalled with your device when you bought it. Deleting them might put your system in problems. But you can still disable them just like the way you'd uninstall other apps; You'll see an option to " Disable " instead of " Uninstall ". So, here I've got to Show you 5 ways to uninstall apps from your Android device... via App Info      This is one of the two most common ways peo...