Bhasha-Script is a custom LALR compiler and Integrated Development Environment (IDE) designed to let users write programs using Bengali keywords and native Bengali digits. This project was developed as part of the CSE 430 (Compiler Design) coursework.
dhoro (variable), dekhao (print), jodi (if), tahole (then), and nahole (else).০-৯) which are automatically mapped to integers for calculation.git clone https://github.com/yourusername/bhasha-script.git
cd bhasha-script
pip install -r requirements.txt
python amar_editor.py
Type the following code into the Amar Bangla Editor to see the logic in action:
dhoro x = ১০
dhoro y = ৫
jodi x > y tahole dekhao ১০০ nahole dekhao ০
Expected Output in Console: > 100
bangla_compiler.py: The core compiler logic containing the Lexer and Parser definitions.amar_editor.py: The Tkinter-based GUI providing a user-friendly coding interface.requirements.txt: Contains the dependency list (PLY).This project demonstrates the full front-end pipeline of a compiler: