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.
- Host: GitHub
- URL: https://github.com/robinncode/banglascript
- Owner: robinNcode
- Created: 2025-01-31T19:07:23.000Z (12 months ago)
- Default Branch: master
- Last Pushed: 2025-02-22T15:42:44.000Z (11 months ago)
- Last Synced: 2025-02-22T16:32:09.345Z (11 months ago)
- Topics: bengali, javascript, programming-language, typescript
- Language: TypeScript
- Homepage: https://robinncode.github.io/banglascript
- Size: 299 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)