Bnlang
| File:Bnlang-logo.svg | |
| Paradigm | Multi-paradigm |
|---|---|
| Designed by | Md Zobayer Hossain Mamun |
| Developer | Bnlang |
| First appeared | 22 September 2025 |
| Stable release | 2.0.0
/ 13 May 2026 |
| Typing discipline | Dynamic |
| Implementation language | C++ |
| Platform | Cross-platform |
| License | Freeware binaries |
| Filename extensions | .bnl |
| Website | bnlang |
Search Bnlang on Amazon.
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
- ↑ টেকবিশ্ব — Bnlang feature [Techbishaw – feature on Bnlang]. Kaler Kantho (in Bengali). 2 November 2025. Retrieved 18 May 2026.
External links
Category:Bengali-language computing Category:Programming languages Category:Dynamically typed programming languages Category:Multi-paradigm programming languages
This article "Bnlang" is from Wikipedia. The list of its authors can be seen in its historical and/or the page Edithistory:Bnlang. Articles copied from Draft Namespace on Wikipedia could be seen on the Draft Namespace of Wikipedia and not main one.
