DulLabs / bhai-lang

A toy programming language written in Typescript
https://bhailang.js.org/
MIT License
3.99k stars 497 forks source link

Support for "Ya fir Bhai" #114

Open GandharvJaggi opened 2 years ago

GandharvJaggi commented 2 years ago

Description

this will be used in place of "else if"

agar bhai(condition) { // code here, for if part } ya fir bhai(another condition) { // more code here, for else if part } warna bhai{ // else part of code here }

this will help differentiate between, 2 if conditions and a single nested conditions

Domain

Bhai Lang

Type of Contribution

Enhancement

Code of Conduct

sleepyqadir commented 2 years ago

Can you assign this to me? I can work on it.

vipul0092 commented 2 years ago

This has been implemented in https://github.com/DulLabs/bhai-lang/pull/226