An open API service indexing awesome lists of open source software.

https://github.com/robinncode/banglascript

BanglaScript is a programming language that uses Bengali characters for its syntax.
https://github.com/robinncode/banglascript

bengali javascript programming-language typescript

Last synced: 7 months ago
JSON representation

BanglaScript is a programming language that uses Bengali characters for its syntax.

Awesome Lists containing this project

README

          

BanglaScript : a Bengali Programming Language

# Introduction
BanglaScript is a programming language that uses Bengali characters for its syntax. It is a fun project that I started to learn more about how programming languages work. The goal of this project is to create a simple programming language that can be used to write simple programs. The language is still in its early stages, and there is a lot of work to be done. However, I am excited to see where this project goes.

# Features
- Uses Bengali characters for syntax
- Bengali version of TypeScript syntax
- Transpiles to JavaScript
- Simple and easy to learn
- Open source

# Example
Here is an example of a simple program written in BanglaScript:
- Variable declaration
```javascript
চলক নাম = "শাহিন";
দেখাও(নাম); // শাহিন
```
- Conditional statement
```javascript
যদি (সত্য) {
দেখাও("সত্য");
}
অথবা যদি (0){
দেখাও("শুন্য");
}
অথবা {
দেখাও("মিথ্যা");
}
```
- Loop
```javascript
পুনরাবৃত্তি কর(পূর্ণসংখ্যা এ = ০; এ < ৫; এ++) {
দেখাও(এ);
}
```

- Function to add two numbers
```javascript
ফাংশন যোগ(পূর্ণসংখ্যা এ, পূর্ণসংখ্যা বি) {
ফেরত এ + বি;
}

দেখাও(যোগ(২, ৩)); // ৫
```

# Tech Stack
- TypeScript
- Node.js
- JavaScript
- OHM.js

# Contributing
If you are interested in contributing to this project, feel free to fork the repository and submit a pull request. I am always looking for ways to improve the language and make it more useful.

# License
This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details.

# Design and Developed by
- [MD Shahin Mia Robin](https://linkedin.com/in/robinncode)