Programming Language for Bhai log

Bhai Lang

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 following command for Linux and Mac.

sudo npm i -g bhailang 

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 :

██████╗░██╗░░██╗░█████╗░██╗██╗░░░░░░█████╗░███╗░░██╗░██████╗░
██╔══██╗██║░░██║██╔══██╗██║██║░░░░░██╔══██╗████╗░██║██╔════╝░
██████╦╝███████║███████║██║██║░░░░░███████║██╔██╗██║██║░░██╗░
██╔══██╗██╔══██║██╔══██║██║██║░░░░░██╔══██║██║╚████║██║░░╚██╗
██████╦╝██║░░██║██║░░██║██║███████╗██║░░██║██║░╚███║╚██████╔╝
╚═════╝░╚═╝░░╚═╝╚═╝░░╚═╝╚═╝╚══════╝╚═╝░░╚═╝╚═╝░░╚══╝░╚═════╝░
https://github.com/DulLabs/bhai-lang> Code With Arjun

Watch this video for more detailed information.

--

--

--

Learn Code with Fun.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Top 10 JavaScript Resources, October 2018

The Frontflip: When a DevOps enters the JAMStack — Functional Preact / Hugo / AWS Amplify

Embed Twitter timeline widgets ReactJS

Learn About React DatePicker in 5 Minutes

How to create large component sets in Figma

How to create large component sets in Figma

Universal decimal calendar and time system

Setting up Windows 10 for web development, including Docker, Linux, and Node.js

React Quill Editor with full toolbar options and custom buttons (undo & redo)

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Code With Arjun

Code With Arjun

Learn Code with Fun.

More from Medium

CS373 Spring 2022: Vibhuti Sharma

What are static libraries?

Escape special character on git commit message

Some Basics Before Learning Trending Programming Languages