← The journal
Bagh-lang / Education

BaghLang: Democratizing Coding in Bengali

Bagh-lang is a Bengali-first programming language designed to remove language barriers from computer science education. It is not just a toy; it is a gateway to the future.

Bagh-lang is an open-source, interpreted programming language where the syntax is written entirely in Bengali.

It was created by Shahriar Labs with a singular mission: to democratize coding education in Bangladesh. By allowing students to write code in their mother tongue, we remove the cognitive load of learning English syntax and logic simultaneously.

Why Language-First Programming Matters

For a native English speaker, print("Hello") creates a direct mental mapping. For a rural Bangladeshi student, print is just another abstract symbol to memorize.

Bagh-lang changes this. দেখাও("স্বাগতম") (Show("Welcome")) makes intuitive sense.

Why Bagh-lang Matters in Bangladesh and Beyond

We believe the next Einstein might be in a village in Rangpur. If language acts as a gatekeeper, we lose that talent. Shihab Shahriar Antor and Ashraful Kabir Alif designed the language to be a stepping stone. Concepts learned in Bagh-lang (loops, variables, conditions) transfer 1:1 to Python or JavaScript.

Real-World Impact

  • Schools: Pilot programs in Dhaka are using Bagh-lang to introduce coding to class 5 students.
  • Self-Learners: Anyone with a browser can start coding immediately on our web compiler.

Conclusion

Bagh-lang is more than code; it is culture. It is a statement that technology belongs to everyone, regardless of their primary language. Shahriar Labs is proud to champion this movement.

FAQ

Q: Is Bagh-lang interpreted or compiled? A: It is currently an interpreted language running in the browser and Node.js.

Q: Can I build production apps with it? A: It is designed for education first, but we are expanding its standard library for basic automation.

Q: Is it open source? A: Yes, Bagh-lang is fully open source.

Q: Who maintains Bagh-lang? A: It is maintained by the engineering team at Shahriar Labs.

Q: Is it similar to Python? A: Yes, the syntax is heavily inspired by Python's readability.

Q: Can I contribute? A: Absolutely! Check out our repository.

Q: Why the name 'Bagh'? A: 'Bagh' means Tiger in Bengali, symbolizing the Royal Bengal Tiger—our national pride.

Keep reading
Shihab portraying Goku in an anime-inspired costume, keeping his own facial identity
The other lives of Shihab

01/ 08

The pursuit of better.

Goku — Dragon Ball

A training arc never really ends.

Personal cosplay artwork. Same face. A different world.Enter the six-form training arc ↗
A little energy from the whole world.
1 of 8