DulLabs / bhai-lang

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

Feature Request: For stopping program we can also use this #246

Open anshtyagi0 opened 2 years ago

anshtyagi0 commented 2 years ago

Is your feature request related to a problem? Please describe.

No response

Describe the solution you'd like.

No response

Describe alternatives you've considered

For stopping or terminating the program you can also add:

ruk ja bhai

Just a suggestion.

Additional context.

No response

tbhaxor commented 2 years ago

What do you mean by stopping? Like exiting from the program or loop?

Aditya2254 commented 2 years ago

i think he means exit();

madhubandru commented 2 years ago

I think it might be like "break" in python

Aditya2254 commented 2 years ago

I think it might be like "break" in python

break is already implemented as bas kar bhai It's mentioned in the documentation.

vivekkeshore commented 2 years ago

exit() can be bhai chal nikal

Can't put dialogue of Hindustani Bhau.... else that would be better. :-D