A Swahili programming language that transpiles to JavaScript.
# JamboScript 🇰🇪
**Lugha ya programu kwa Kiswahili** — A Swahili programming language that transpiles to JavaScript.
JamboScript is a beginner-friendly programming language designed for native Swahili speakers to learn programming concepts using familiar language constructs. It lowers the cognitive barrier to learning code by expressing core programming ideas in Swahili while compiling to readable JavaScript.
## Installation
```bash
# Clone the repository
git clone
github.com
cd jamboscript
# Install dependencies
npm install
# Build the transpiler
npm run build
```
## Usage
```bash
# Transpile a JamboScript file to JavaScript (outputs to stdout)
npx jamboscript hello.jambo
# Run the transpiled code directly
npx jamboscript hello.jambo | node
# Show help
npx jamboscript --help
```
## Language Features
### Keywords / Maneno Muhimu
| JamboScript | JavaScript | Maelezo (Description) |
|-------------|------------|----------------------|
| `acha` | `let` | Variable declaration |
| `thabiti` | `const` | Constant declaration |
| `kazi` | `function` | Function declaration |
| `rudisha` | `return` | Return statement |
| `kama` | `if` | If statement |
| `la sivyo` | `else` | Else statement |
| `wakati` | `while` | While loop |
| `rudia` | `for` | For loop |
| `chagua` | `switch` | Switch statement |
| `hali` | `case` | Case clause |
| `kawaida` | `default` | Default clause |
| `vunja` | `break` | Break statement |
| `endelea` | `continue` | Continue statement |
| `kweli` | `true` | Boolean true |
| `sivyo` | `false` | Boolean false |
| `tupu` | `null` | Null value |
| `andika()` | `console.log()` | Print output |
### Operators / Opereta
All JavaScript operators are supported, plus Swahili alternatives for logical operators:
- **Arithmetic:** `+`, `-`, `*`, `/`, `%`
- **Comparison:** `==`, `!=`, `===`, `!==`, ` `, ` =`
- **Logical:** `&&`, `||`, `!`
- **Assignment:** `=`, `+=`, `-=`, `*=`, `/=`
- **Increment/Decrement:** `++` …