Get Started
Welcome to the Get Started guide for the Bangla Programming Language (Bnlang). This page walks you through installing Bnlang, running your first program, and getting a feel for the toolchain.
Introduction
Bnlang is a dual-language programming language with Bangla and English keywords mapped to the same syntax tree. It's a native programming language with its own interpreter — there is no transpilation step and no dependency on a JavaScript engine. The language is designed for learners, educators, and working developers who want a clean, readable language with a modern standard library.
Why Bnlang?
- 🌐 Dual-language — write code in Bangla or English; the parser treats both the same.
- 📚 Educational — built so students can pick up programming concepts in their native language.
- ⚡ Predictable — small, regular syntax. Fixed-arity functions, no surprising overloads.
- 🛠 Batteries included — file I/O, HTTP, WebSocket, SQLite/PostgreSQL/MongoDB, templating, crypto, and more in the standard library.
- 🧩 Extensible — drop a
.dll/.so/.dylibnext to abnl.jsonandimportit like any other module. Plugins use a single drop-in C header and can be written in C, C++, Rust, Go, Zig, or any language with a C ABI.
Installation
To install Bnlang:
- Go to the Releases page.
- Download the latest package for your platform:
- Windows (
.exeinstaller or.zip) - Linux (
.tar.gz) - macOS (
.pkgor.tar.gz)
- Windows (
- Follow the platform-specific installation instructions in the release notes.
After installation, check that it works:
bnl --version
Your First Program
Create a file named hello.bnl:
print("Hello, world!");
Run it:
bnl hello.bnl
What's Next?
Across the documentation you'll find:
- Get Started — installation, your first program, and how the language is put together.
- Language Basics — variables, types, operators, control flow.
- Standard Library — file I/O, HTTP, sockets, databases, templating, and more.
- Tooling — BPM (the package manager) and the built-in test framework.