Draft:Bnlang

You can also browse Wikipedia:Featured articles and Wikipedia:Good articles to find examples of Wikipedia's best writing on topics similar to your proposed arti

Draft:Bnlang

Bnlang
ParadigmMulti-paradigm
Designed byMd Zobayer Hossain Mamun
DeveloperBnlang
First appeared22 September 2025; 10 months ago (2025-09-22)
Stable release
2.0.0 / 13 May 2026; 3 months ago (2026-05-13)
Typing disciplineDynamic
Implementation languageC++
PlatformCross-platform
LicenseFreeware binaries
Filename extensions.bnl
Websitebnlang.dev

Bnlang is a bilingual general-purpose programming language designed to support programming using both Bangla (Bengali) and English keywords. The language allows programs to be written in either language, or in a mixture of both, while maintaining identical behaviour and syntax rules.

The language is implemented in C++ and distributed as a standalone interpreter for Windows, Linux, and macOS. Bnlang includes built‑in modules for networking, file handling, databases, cryptography, and asynchronous programming.

History

Bnlang was started on 22 September 2025 by Bangladeshi software developer Md Zobayer Hossain Mamun. The project was created with the goal of making programming more accessible to Bangla speakers while still remaining compatible with conventional programming practices and English-based tooling.

The first stable release, version 1.0.0, introduced bilingual syntax support and a standalone interpreter. Earlier prototypes of the language executed code by transpiling to JavaScript running on the V8 engine. In version 2.0.0, released in May 2026, the project transitioned to a fully self-contained native interpreter written in C++, replacing the earlier V8-based execution approach and adding asynchronous programming features based on a built-in Future type and the wait keyword.

Design

Bnlang is a multi‑paradigm language supporting imperative, object‑oriented, functional, and event‑driven programming styles. The language uses a brace‑based syntax similar to languages such as JavaScript and C.

The language provides Bangla and English forms for keywords and built‑in modules. For example, the English keyword if may also be written as যদি, while function may be written as ফাংশন.

Bnlang includes:

  • Dynamic typing
  • Functions and closures
  • Classes with single inheritance
  • Exception handling
  • Asynchronous programming support
  • Built‑in networking and database modules
  • Cross‑platform execution

The interpreter uses a tree‑walking execution model and does not currently use bytecode or just‑in‑time compilation.

Syntax

A simple “Hello, World!” program in English syntax:

print("Hello, World!");

The same program in Bangla syntax:

লিখুন("হ্যালো, পৃথিবী!");

Bnlang programs may freely mix Bangla and English keywords in the same source file.

Standard library

Bnlang ships with a built‑in standard library that includes modules for:

  • File handling
  • Networking
  • HTTP and TLS
  • JSON processing
  • Cryptography
  • SQLite, PostgreSQL, and MongoDB access
  • Timers and asynchronous operations

The project also includes a package manager called bpm (Bnlang Package Manager), which is used to install third‑party libraries and dependencies.

Tooling

Bnlang provides an official extension for Visual Studio Code. The extension includes syntax highlighting, autocomplete, snippets, formatting support, and phonetic Bangla typing.

The project also maintains an official documentation website available in both Bangla and English.

Reception

In November 2025, the Bangladeshi newspaper Kaler Kantho published a feature on Bnlang in its technology section, describing it as a Bangla–English programming language developed in Bangladesh.[1]

See also

References

  1. ^ টেকবিশ্ব — Bnlang feature [Techbishaw – feature on Bnlang]. Kaler Kantho (in Bengali). 2 November 2025. Retrieved 18 May 2026.

Category:Bengali-language computing Category:Programming languages Category:Dynamically typed programming languages Category:Multi-paradigm programming languages

Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.