DulLabs / bhai-lang

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

No Globalization? - Only Hindi speaking person can easily use this Lang? #233

Closed Aravin closed 2 years ago

Aravin commented 2 years ago

No Globalization? - Only Hindi speakers can easily use this Lang?

electrolyte-orb commented 2 years ago

Nope.

ankitchouhan1020 commented 2 years ago

No future plan to support globalization. However some fork repos are working or playing around their native language. https://github.com/sheshavpd/gurulang

Thanks, closing this.

Aravin commented 2 years ago

Can I work on Tamil language?

On Sun, 20 Mar 2022, 22:37 Ankit Chouhan, @.***> wrote:

Closed #233 https://github.com/DulLabs/bhai-lang/issues/233.

— Reply to this email directly, view it on GitHub https://github.com/DulLabs/bhai-lang/issues/233#event-6271469694, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABFEZEPXV6QA7V4XA5RIQ6TVA5LOTANCNFSM5RFJOTGA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

ankitchouhan1020 commented 2 years ago

You can fork the repo and create your own version.

shankarkrupa commented 2 years ago

Forked for Tamil at https://github.com/shankarkrupa/nanba-lang . @ankitchouhan1020 - could you consider moving the hardcoded strings to a dynamically loaded file at build time and also the do something for the constants+keywords in bhailangspec.ts and syntax.ts files? If this is not in the roadmap, I understand perfectly this might deter the progress of the language from progressing in the core areas. However, please do confirm.

ankitchouhan1020 commented 2 years ago

I think most of the language spec are already in a constant file which is pretty easy to change. Rest are mostly test files. This feature is not in pipeline anytime soon.

Congrats on creating your own version from it. 🎉

shankarkrupa commented 2 years ago

@ankitchouhan1020 Okay. I think it would create fork bloats as these forks can never be merged back with a PR to this main repository. If we have a way to dynamically load the constants, examples with a template placeholder, and the regex it would be really good. I can give a PR ensuring there are sufficient unit tests if you can merge it after review.