Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a228903f7863b1bb

Jump to content

Draft:Bnlang

From Wikipedia, the free encyclopedia

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; 2 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

[edit]

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

[edit]

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

[edit]

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

[edit]

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

[edit]

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

[edit]

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

[edit]

References

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

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