Check out Bong Compiler
About the Bong Compiler
Welcome to Bong Compiler! This project is a simple compiler implemented in Rust that supports variable assignment, printing values, conditional statements (`if`), and loop statements (`while`). The commands are customized with Bengali terms for fun and educational purposes.
Documentation
Getting Started
To start using the Bong compiler, follow these instructions...
Installation
To get started with the Bong Compiler, you need to have Rust installed. If you don't have Rust installed, you can install it from rust-lang.org.
> git clone https://github.com/Shounak2003/Bong-Campiler.git
> cd Bong-Campiler
Building the project
> cargo build
> cargo run
Syntax
Variable Assignments
> chol count = 1
> chol name = "Bongman"
Input Statements
> anko user_number
69
> shobdo user_name
Bong
Arrays
> chol numbers = [10, 20, 30]
> bol numbers
[10.0, 20.0, 30.0]
> chol letters = [a, c, d]
> bol letters
[a, c, d]
> bol letters[1]
c
Print a Variable
> bol count
1
Conditional Statements
> jodi count == 1 bol "Count is one"
Count is one
Looping Statements
> chol count = 1
> jotokhun count <= 5 obdhi
| bol count
| chol count = count + 1
|
1
2
3
4
5
Exit Command
gand mara
About the Creater
Shounak Chandra, a tech-savvy software developer known for his sharp sense of humor and high standards of living was inspired during a visit to a rural village where a child’s curiosity about programming, despite language barriers, sparked the idea for Bongiler — a Bengali-based programming language for native learners. He started working on "Bongiler," a compiler crafted in Rust. To follow his journey and explore his work, visit his profiles on LinkedIn, Twitter, and his personal portfolio.