A-ads

What is bhailang How to install it on Termux

 Nowadays a new programming language called bhailang is becoming very popular over the internet.bhailang is a desi programming language created by two indian programmers Aniket Singh and Rishabh Tripathi for fun.In this tutorial we are going to learn that what is bhai-lang and how we can install it on our Android device with the help of Termux application.At the same time we will make a simple bhai program and run it on Termux.

What is bhai-lang

bhailang is a toy programming language developed by Rishabh Tripathi and Aniket Singh, software engineers of Groww and Amazon respectively.bhailang is written in Typescript.

If you are an Indian, I don't need to tell you what bhai means.but if you are an foreigner then you should know that bhai is the hindi and Bengali meaning of bro.Nowadays it is becoming very popular because the syntax of this programming language is very funny and you will never feel that you are programming in a language ,you will feel that you are talking to your friend.

bhailang starts with the code hi bhai and ends with bye bhai.Variables are declared with bhai ye hai. bol bhai is used to print any output.And its error message is also funny, if you make a  mistake it will print the error message "Bhai kiya kar raha hai tu".You can visit their official website if you want to know more about that programming language 

How to install bhailang

Here we will discuss that how we can program in bhailang on Termux.If you don't have any idea about termux you can visit my previous post what is termux.Briefly here I can tell you that Termax is a terminal emulator where you can run Linux commands.To Install bhailang in termux follow the given steps

~make attractive evil eye banner for termux~

Step1

Open the termux application then update and upgrade all termux packages using the command given below

Step2

Now Install nodejs on Termux 


Step3

Now execute the given command to install bhailang on Termux globally


Step4

Here we have to install a text editor on Termux to create a Bhai file.Here I am going to install the vim editor you can install nano also


Step5


Now we have to make a Bhai file with the vi editor.So copy the code given below

hi bhai
  bol bhai "Hello bhai";
bye bhai
And use the command 
 

Bhailang termux



Then press i and paste the copied code and press

ESC then :wq and press the ENTR button.

Step6

Now execute the demo.bhai file by using the given command

Then your termux will be look like this where the demo.bhai file has executed successfully.

Bhailang termux

Conclusion

   If you have learned any programming language before that it will be very easy to learn this language for you.But if you are a beginner, I would not recommend you to learn this language because it is in its primary lavel now, so it is called toy language.It does not meet the standards for general purpose applications.But it is a good initiative of Aniket and Rishabh to make computer languages ​​easy and fun. It can change the way we look at programming languages. Programming can be funny and interesting for all,they have proved it.


Post a Comment

0 Comments