This content originally appeared on DEV Community and was authored by Code With Arjun
BhaiLang is a programming language made using syntax familier to Indian language.
For example to print something in bhai it is written
bol bhai "Hello World";
bol bhai means say in hindi.
Here i will show how to set up bhailang on you machine and write first bhai lang program.
To install you need to have installed node and npm installed into your system. If you haven't please checkout this video.
Mac : https://youtu.be/pHz7TgEIa0w
Linux : https://youtu.be/P6rPI7x28nY
Windows : https://youtu.be/n3M9qKvFZeg
Once you install node and npm open your terminal and to install bhai lang just type :
npm i -g bhailang
This should install bhailang on your system. You just need to type sudo npm i -g bhailang for Linux and Mac.
To check if bhailang is installed or not just type
bhailang --version
To write your first program just open VS code or any Editer and simply create a file with .bhai extension
For example test.bhai
For first program just write :
hi bhai
bol bhai "Code With Arjun";
bye bhai
To run the program just type
bhailang test.bhai
And the output will be :
Code With Arjun
For more Videos Please Visit :
This content originally appeared on DEV Community and was authored by Code With Arjun
Code With Arjun | Sciencx (2022-03-17T14:47:01+00:00) Programming Language for Bhailog. Retrieved from https://www.scien.cx/2022/03/17/programming-language-for-bhailog/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.