DulLabs / bhai-lang

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

Enhancement #287

Open Mayankkatheriya opened 6 months ago

Mayankkatheriya commented 6 months ago

we can define variables with "bhai ye lo a=10" instead of "bhai ye hai a=10" because we are defining something and giving a variable to the BhaiLang so "bhai ye lo" makes more sense.

Similarly for the console, we can use "bhai bolna a" and it will print 10 instead of "bhai bol" because it shows respect towards language from the user

I have other syntax suggestions also

dakshy commented 6 months ago

The whole point of using bhai is being friendly. It may not align with your sanskaar and behaviour, I don't think we need the essence of respect here.