Tunisian Programming Language using JavaScript
# Tunisian Programming Language (TPL) Interpreter
Welcome to the **Tunisian Programming Language (TPL) Interpreter**! This project is an implementation of a programming language inspired by the Tunisian dialect, allowing users to write and execute code using familiar Tunisian phrases. The interpreter is built using JavaScript and provides a web-based interface for writing and running TPL code.
You can view and interact with the project here: TPL Interpreter on CodePen
---
## Table of Contents
- Features
- Language Rules
- Getting Started
- Usage
- Writing TPL Code
- Running Code
- Examples
- Hello, World!
- Variables and Arithmetic
- Conditionals
- Loops
- Functions
- Contributing
- License
- Acknowledgments
---
## Features
- **Intuitive Syntax**: Write code using Tunisian dialect phrases.
- **Web-Based Interface**: Code editor and output console in your browser.
- **Real-Time Execution**: Run your TPL code instantly and see the results.
- **Syntax Highlighting**: Improved readability and coding experience.
- **Language Reference**: Quick access to language rules and syntax.
- **Responsive Design**: Compatible with various devices and screen sizes.
---
## Language Rules
### Program Structure
- **Start of the Program**: "salamo alykom"
- **End of the Program**: "walaykom salem"
### Comments
- **Single-Line Comments**: Use "#" at the beginning of a line.
### Variables
- **Declaration and Assignment**: "ismi" (declare), "hot" (assign)
```
ismi x hot 5
```
### Input and Output
- **Input**: "da5el"
```
ismi x hot da5el
```
- **Output**: "5arej"
```
5arej x
```
### Arithmetic Operators
- **Addition**: "zid"
- **Subtraction**: "naqis"
- **Multiplication**: "adhreb"
- **Division**: "eqsem"
### Conditionals
- **If Statement**: "itha ken"
- **Else Statement**: "willa"
- **End of Conditional Block**: "fi al akher"
- **Comparison Operators**:
- Greater Than: "akber men"
- Less Than: "asghar men"
- Equal To: "yusawi"
### Loops
- **While Loop**: "madem"
- …