codesi-lang


Namecodesi-lang JSON
Version 0.0.1 PyPI version JSON
download
home_pagehttps://github.com/codesi-lang
SummaryFirst of its Kind Programming Language
upload_time2025-10-26 07:31:09
maintainerNone
docs_urlNone
authorRishaank Gupta
requires_python>=3.7
licenseMIT
keywords codesi hinglish hindi programming
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # ๐Ÿš€ Codesi Programming Language

<div align="center">

![Codesi Version](https://img.shields.io/badge/version-0.0.1-blue.svg)
![License](https://img.shields.io/badge/license-MIT-green.svg)
![Python](https://img.shields.io/badge/python-3.8+-yellow.svg)
![Status](https://img.shields.io/badge/status-production--ready-success.svg)

**The World's First Hinglish Programming Language with Revolutionary Features**

[Quick Start](#-quick-start) โ€ข [Documentation](#-documentation) โ€ข [Features](#-world-first-features) โ€ข [Examples](#-examples) โ€ข [Contributing](#-contributing)

---

</div>

## ๐ŸŒŸ What Makes Codesi Revolutionary?

Codesi isn't just another programming languageโ€”it's a **paradigm shift** in how we think about code. Created by a 15-year-old developer on a mobile phone, it introduces **multiple world-first features** that have never existed in any programming language before.

### ๐ŸŽฏ Core Innovation

- **๐Ÿ‡ฎ๐Ÿ‡ณ Hinglish Syntax**: First programming language with native Hindi-English hybrid syntax
- **๐Ÿช„ JAADU Auto-Correction**: Intelligent, context-aware error correction built into the language itself
- **๐Ÿง  Self-Explaining Code**: No AI/ML neededโ€”the language explains itself natively
- **โฐ Time Machine Debugger**: Travel through execution history, modify past states
- **๐Ÿ“š Smart History**: Complete execution timeline with state snapshots
- **๐Ÿ’ก Personalized Hints**: Context-aware suggestions for common patterns

---

## ๐Ÿš€ Quick Start

### Installation

#### ๐ŸชŸ Windows Users (Recommended)

**Easiest Method - One-Click Installer:**

1. Go to [Releases](https://github.com/codesi-lang/codesi/releases)
2. Download the latest **Codesi Setup.exe**
3. Run the installer
4. Access Codesi from:
   - ๐Ÿ–ฅ๏ธ Desktop Icon
   - ๐Ÿ“‹ Start Menu
   - โŒจ๏ธ CMD/PowerShell (type `codesi`)

**If CMD access not working:**

Press `Win + R` and paste this command:

```powershell
powershell -NoProfile -Command "$add='C:\Program Files\Codesi'; $p=[Environment]::GetEnvironmentVariable('Path','User'); if(-not $p){ [Environment]::SetEnvironmentVariable('Path',$add,'User') } elseif($p -notlike '*'+$add+'*'){ [Environment]::SetEnvironmentVariable('Path',$p + ';' + $add,'User') }; Start-Process -FilePath 'RUNDLL32.EXE' -ArgumentList 'USER32.DLL,SendMessageA 0xFFFF,0x1A,0,`'Environment`'' -NoNewWindow"
```

Restart CMD and type `codesi` - it will work!

---

#### ๐ŸŽ macOS / ๐Ÿง Linux Users

**Installer Coming Soon!** (In development)

For now, use Python installation:

```bash
# Install Python (if not installed)
# macOS: brew install python
# Linux: sudo apt install python3

# Install Codesi via pip
pip install codesi

# Access Codesi
codesi
```

---

#### ๐Ÿ“ฑ Android Users (Termux)

```bash
# 1. Install Termux from Play Store or F-Droid
# 2. Open Termux and run:

apt update && apt upgrade -y
pkg install python
pip install codesi

# Access Codesi
codesi
```

---

#### ๐ŸŒ Need Help?

Visit our official website: **[https://thecodesi.xyz](https://thecodesi.xyz)**

Complete installation guides and troubleshooting available!

### Your First Program

Create `hello.cds`:

```codesi
likho("Hello, World!")
naam = input_lo("Aapka naam kya hai? ")
likho("Namaste, " + naam + "!")
```

Run it:

```bash
codesi hello.cds
```

Or use interactive mode:

```bash
codesi
```

---

## ๐ŸŒ World-First Features

### 1๏ธโƒฃ ๐Ÿช„ JAADU - Auto-Correction System

**First programming language with built-in auto-correction**

```codesi
# You type (with typo):
linkho("Hello")  

# JAADU automatically corrects to:
๐Ÿช„ JAADU: 'linkho' โ†’ 'likho'
```

Enable JAADU mode:
```bash
codesi --jaadu
```

### 2๏ธโƒฃ โฐ Time Machine Debugger

**First language with execution time travel**

```codesi
time_machine_on()  # Activate time travel

x = 5
likho(x)           # Prints: 5

x = 10
likho(x)           # Prints: 10

peeche()           # Go back in time!
likho(x)           # Prints: 5 (traveled back!)

aage()             # Go forward
timeline()         # See complete execution history
```

**Real-world use case:**
```codesi
time_machine_on()

arr = [1, 2, 3]
arr.push(4)
arr.push(5)
likho(arr)  // [1, 2, 3, 4, 5]

peeche(2)   // Go back 2 steps
likho(arr)  // [1, 2, 3] (before pushes!)
```

### 3๏ธโƒฃ ๐Ÿง  Samjhao - Self-Explaining Code

**First language that explains itself without external AI**

```codesi
samjhao_on()  # Enable explanation mode

x = 10
y = 20
result = x + y
likho(result)

samjhao()  # Get detailed explanation
```

**Output:**
```
๐Ÿ“– Code Explanation:
============================================================
1. Variable 'x' mein value 10 store ki
2. Variable 'y' mein value 20 store ki
3. ๐Ÿ”ข Operation: 10 + 20 = 30
4. Variable 'result' mein value 30 store ki
============================================================
```

### 4๏ธโƒฃ ๐Ÿ‡ฎ๐Ÿ‡ณ Hinglish Syntax

**First language designed for Indian developers**

```codesi
// Variables (English or Hindi)
naam = "Rishaank"
age = 15

// Conditions (Hinglish)
agar (age < 18) {
    likho("Aap minor ho")
} nahi_to {
    likho("Aap adult ho")
}

// Loops (Natural Hinglish)
har i se 1 tak 5 {
    likho("Number: " + i)
}

// Functions (Intuitive)
karya greet(naam) {
    vapas "Namaste, " + naam
}
```

---

## ๐ŸŽ“ Real-World Examples

### Example 1: Student Management System

```codesi
class Student {
    banao(naam, roll, marks) {
        ye.naam = naam
        ye.roll = roll
        ye.marks = marks
    }
    
    karya calculate_grade() {
        agar (ye.marks >= 90) {
            vapas "A+"
        } ya_phir (ye.marks >= 75) {
            vapas "A"
        } ya_phir (ye.marks >= 60) {
            vapas "B"
        } nahi_to {
            vapas "C"
        }
    }
    
    karya display() {
        likho("Student:", ye.naam)
        likho("Roll:", ye.roll)
        likho("Marks:", ye.marks)
        likho("Grade:", ye.calculate_grade())
    }
}

// Create students
s1 = new Student("Rishaank", 1, 95)
s2 = new Student("Raj", 2, 78)

// Display info
s1.display()
s2.display()
```

### Example 2: Time Machine Debugging

```codesi
time_machine_on()

// Buggy code - let's debug it
balance = 1000
likho("Initial:", balance)

balance -= 200  // Withdrawal
likho("After withdrawal:", balance)

balance -= 500  // Another withdrawal
likho("After 2nd withdrawal:", balance)

balance -= 400  // ERROR: Insufficient balance!

// Go back and check
peeche(2)
likho("Checking balance:", balance)  // 800

// See complete timeline
timeline()
```

### Example 3: File Processing with SAMJHAO

**First, create `students.txt` with this data:**
```
Rishaank,95
Raj,78
Priya,82
Amit,65
Neha,91
```

**Now run this code:**
```codesi
// Enable explanations
samjhao_on()

// Read and process file
try {
    data = file_padho("students.txt")
    lines = data.todo("\n")
    
    likho("=== Student Results ===")
    
    // Process each line
    har line mein lines {
        agar (line != "") {
            parts = line.todo(",")
            naam = parts[0]
            marks = int_bnao(parts[1])
            
            agar (marks >= 75) {
                likho(naam, "passed with", marks, "marks! โœ…")
            } nahi_to {
                likho(naam, "needs improvement -", marks, "marks")
            }
        }
    }
} catch(error) {
    likho("Error:", error.message)
    likho("Hint: students.txt file banao pehle!")
}

// See what happened
samjhao()
```

**Expected Output:**
```
=== Student Results ===
Rishaank passed with 95 marks! โœ…
Raj passed with 78 marks! โœ…
Priya passed with 82 marks! โœ…
Amit needs improvement - 65 marks
Neha passed with 91 marks! โœ…

๐Ÿ“– Code Explanation:
============================================================
1. File 'students.txt' successfully read
2. Data split into 5 lines
3. Each line processed for name and marks
4. Conditions evaluated for pass/fail
5. Results displayed with formatting
============================================================
```

---

## ๐ŸŽฎ Interactive REPL Mode

```bash
$ codesi
======================================================================
  ๐Ÿš€ Codesi Programming Language - Interactive Mode
  Version 1.0.0 | Hinglish Programming Language
======================================================================

๐Ÿ“š Commands:
  help()                       // Show this help                 
  qhelp()                      // Show quick reference            
  license()                    // Show license info   
  copyright()                  // Show copyright info     
  credits()                    // Show credits & thanks            
  exit() or quit()             // Exit REPL 
  clear()                      // Clear screen 
  vars()                       // Show all variables   
  history()                    // Show command history 
  !!                           // Repeat last command 
  !5                           // Repeat command #5 from history   

codesi:1> naam = "Rishaank"
codesi:2> likho("Hello, " + naam)
Hello, Rishaank
codesi:3> vars()

๐Ÿ“Š Current Variables:
  naam = 'Rishaank'
```

---

## ๐Ÿ› ๏ธ Built-in Functions

### Output Functions
```codesi
likho("Hello")           // Print output
```

### Input Functions
```codesi
naam = input_lo("Name: ")          // String input
age = int_lo("Age: ")           // Integer input
score = float_lo("Score: ")     // Float input
```

### Math Functions
```codesi
math_absolute(-5)        // 5
math_square(16)          // 4
math_power(2, 3)         // 8
math_random(1, 10)       // Random number
math_gol(3.7)            // 4 (round)
```

### Type Functions
```codesi
type_of(value)           // Get type
string_bnao(123)         // "123"
int_bnao("456")          // 456
float_bnao("3.14")       // 3.14
bool_bnao(1)             // sach
```

### Array/String Functions
```codesi
lambai(arr)              // Length
range(1, 10)             // [1,2,3...9]
```

---

## ๐Ÿ“š Documentation

Comprehensive guides for all skill levels:

- **[Installation Guide](docs/INSTALLATION.md)** - Setup instructions
- **[Quickstart Guide](docs/QUICKSTART.md)** - Get started in 5 minutes
- **[Syntax Guide](docs/SYNTAX_GUIDE.md)** - Complete syntax reference
- **[Complete Basics](docs/COMPLETE_BASICS.md)** - Beginner tutorials
- **[Complete Intermediate](docs/COMPLETE_INTERMEDIATE.md)** - Advanced concepts
- **[Advanced Features](docs/ADVANCED_FEATURES.md)** - Time Machine, JAADU, Samjhao
- **[OOP Guide](docs/OOPs.md)** - Object-oriented programming
- **[Functions](docs/FUNCTIONS.md)** - Function reference
- **[Built-in Functions](docs/BUILTIN_FUNCTIONS.md)** - Standard library

---

## ๐ŸŽฏ Use Cases

### Perfect For:

โœ… **Education** - Teaching programming in Hindi/Hinglish  
โœ… **Rapid Prototyping** - Fast development with auto-correction  
โœ… **Debugging** - Time Machine makes debugging trivial  
โœ… **Learning** - Self-explaining code helps understanding  
โœ… **Indian Developers** - Natural syntax for Hindi speakers  

---

## ๐ŸŒŸ Why Codesi?

| Feature | Traditional Languages | Codesi |
|---------|----------------------|---------|
| Language Barrier | English only | Hinglish (Hindi + English) |
| Error Correction | Manual debugging | Auto-correction (JAADU) |
| Code Understanding | External documentation | Self-explaining (Samjhao) |
| Time Travel Debugging | None | Built-in Time Machine |
| Learning Curve | Steep | Gentle with hints |
| Cultural Relevance | Western-centric | India-first design |

---

## ๐Ÿค Contributing

We welcome contributions! Here's how:

1. **Fork** the repository
2. **Create** a feature branch (`git checkout -b feature/amazing`)
3. **Commit** changes (`git commit -m 'Add amazing feature'`)
4. **Push** to branch (`git push origin feature/amazing`)
5. **Open** a Pull Request

See [CONTRIBUTING.md](CONTRIBUTING.md) for detailed guidelines.

---

## ๐Ÿ“ License

Codesi is open-source software licensed under the [MIT License](LICENSE).

## ๐Ÿ›ก๏ธ Security

If you discover any security vulnerabilities, please report them responsibly by following the guidelines in [SECURITY.md](SECURITY.md).

## ๐Ÿ“œ Changelog

Stay updated with the latest changes and improvements by checking our [CHANGELOG.md](CHANGELOG.md).

## ๐Ÿ™ Acknowledgements

A huge thank you to Rishaank Gupta for his vision and dedication in creating Codesi. This project is a testament to what passion and innovation can achieve.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/codesi-lang",
    "name": "codesi-lang",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": null,
    "keywords": "codesi, hinglish, hindi, programming",
    "author": "Rishaank Gupta",
    "author_email": "Rishaank Gupta <site.rishaank@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/ea/b9/9b2a696f429939e9faf4e03ed93c13dcf7ad042c3a2c04077e452dd2e336/codesi_lang-0.0.1.tar.gz",
    "platform": null,
    "description": "# \ud83d\ude80 Codesi Programming Language\r\n\r\n<div align=\"center\">\r\n\r\n![Codesi Version](https://img.shields.io/badge/version-0.0.1-blue.svg)\r\n![License](https://img.shields.io/badge/license-MIT-green.svg)\r\n![Python](https://img.shields.io/badge/python-3.8+-yellow.svg)\r\n![Status](https://img.shields.io/badge/status-production--ready-success.svg)\r\n\r\n**The World's First Hinglish Programming Language with Revolutionary Features**\r\n\r\n[Quick Start](#-quick-start) \u2022 [Documentation](#-documentation) \u2022 [Features](#-world-first-features) \u2022 [Examples](#-examples) \u2022 [Contributing](#-contributing)\r\n\r\n---\r\n\r\n</div>\r\n\r\n## \ud83c\udf1f What Makes Codesi Revolutionary?\r\n\r\nCodesi isn't just another programming language\u2014it's a **paradigm shift** in how we think about code. Created by a 15-year-old developer on a mobile phone, it introduces **multiple world-first features** that have never existed in any programming language before.\r\n\r\n### \ud83c\udfaf Core Innovation\r\n\r\n- **\ud83c\uddee\ud83c\uddf3 Hinglish Syntax**: First programming language with native Hindi-English hybrid syntax\r\n- **\ud83e\ude84 JAADU Auto-Correction**: Intelligent, context-aware error correction built into the language itself\r\n- **\ud83e\udde0 Self-Explaining Code**: No AI/ML needed\u2014the language explains itself natively\r\n- **\u23f0 Time Machine Debugger**: Travel through execution history, modify past states\r\n- **\ud83d\udcda Smart History**: Complete execution timeline with state snapshots\r\n- **\ud83d\udca1 Personalized Hints**: Context-aware suggestions for common patterns\r\n\r\n---\r\n\r\n## \ud83d\ude80 Quick Start\r\n\r\n### Installation\r\n\r\n#### \ud83e\ude9f Windows Users (Recommended)\r\n\r\n**Easiest Method - One-Click Installer:**\r\n\r\n1. Go to [Releases](https://github.com/codesi-lang/codesi/releases)\r\n2. Download the latest **Codesi Setup.exe**\r\n3. Run the installer\r\n4. Access Codesi from:\r\n   - \ud83d\udda5\ufe0f Desktop Icon\r\n   - \ud83d\udccb Start Menu\r\n   - \u2328\ufe0f CMD/PowerShell (type `codesi`)\r\n\r\n**If CMD access not working:**\r\n\r\nPress `Win + R` and paste this command:\r\n\r\n```powershell\r\npowershell -NoProfile -Command \"$add='C:\\Program Files\\Codesi'; $p=[Environment]::GetEnvironmentVariable('Path','User'); if(-not $p){ [Environment]::SetEnvironmentVariable('Path',$add,'User') } elseif($p -notlike '*'+$add+'*'){ [Environment]::SetEnvironmentVariable('Path',$p + ';' + $add,'User') }; Start-Process -FilePath 'RUNDLL32.EXE' -ArgumentList 'USER32.DLL,SendMessageA 0xFFFF,0x1A,0,`'Environment`'' -NoNewWindow\"\r\n```\r\n\r\nRestart CMD and type `codesi` - it will work!\r\n\r\n---\r\n\r\n#### \ud83c\udf4e macOS / \ud83d\udc27 Linux Users\r\n\r\n**Installer Coming Soon!** (In development)\r\n\r\nFor now, use Python installation:\r\n\r\n```bash\r\n# Install Python (if not installed)\r\n# macOS: brew install python\r\n# Linux: sudo apt install python3\r\n\r\n# Install Codesi via pip\r\npip install codesi\r\n\r\n# Access Codesi\r\ncodesi\r\n```\r\n\r\n---\r\n\r\n#### \ud83d\udcf1 Android Users (Termux)\r\n\r\n```bash\r\n# 1. Install Termux from Play Store or F-Droid\r\n# 2. Open Termux and run:\r\n\r\napt update && apt upgrade -y\r\npkg install python\r\npip install codesi\r\n\r\n# Access Codesi\r\ncodesi\r\n```\r\n\r\n---\r\n\r\n#### \ud83c\udf10 Need Help?\r\n\r\nVisit our official website: **[https://thecodesi.xyz](https://thecodesi.xyz)**\r\n\r\nComplete installation guides and troubleshooting available!\r\n\r\n### Your First Program\r\n\r\nCreate `hello.cds`:\r\n\r\n```codesi\r\nlikho(\"Hello, World!\")\r\nnaam = input_lo(\"Aapka naam kya hai? \")\r\nlikho(\"Namaste, \" + naam + \"!\")\r\n```\r\n\r\nRun it:\r\n\r\n```bash\r\ncodesi hello.cds\r\n```\r\n\r\nOr use interactive mode:\r\n\r\n```bash\r\ncodesi\r\n```\r\n\r\n---\r\n\r\n## \ud83c\udf0d World-First Features\r\n\r\n### 1\ufe0f\u20e3 \ud83e\ude84 JAADU - Auto-Correction System\r\n\r\n**First programming language with built-in auto-correction**\r\n\r\n```codesi\r\n# You type (with typo):\r\nlinkho(\"Hello\")  \r\n\r\n# JAADU automatically corrects to:\r\n\ud83e\ude84 JAADU: 'linkho' \u2192 'likho'\r\n```\r\n\r\nEnable JAADU mode:\r\n```bash\r\ncodesi --jaadu\r\n```\r\n\r\n### 2\ufe0f\u20e3 \u23f0 Time Machine Debugger\r\n\r\n**First language with execution time travel**\r\n\r\n```codesi\r\ntime_machine_on()  # Activate time travel\r\n\r\nx = 5\r\nlikho(x)           # Prints: 5\r\n\r\nx = 10\r\nlikho(x)           # Prints: 10\r\n\r\npeeche()           # Go back in time!\r\nlikho(x)           # Prints: 5 (traveled back!)\r\n\r\naage()             # Go forward\r\ntimeline()         # See complete execution history\r\n```\r\n\r\n**Real-world use case:**\r\n```codesi\r\ntime_machine_on()\r\n\r\narr = [1, 2, 3]\r\narr.push(4)\r\narr.push(5)\r\nlikho(arr)  // [1, 2, 3, 4, 5]\r\n\r\npeeche(2)   // Go back 2 steps\r\nlikho(arr)  // [1, 2, 3] (before pushes!)\r\n```\r\n\r\n### 3\ufe0f\u20e3 \ud83e\udde0 Samjhao - Self-Explaining Code\r\n\r\n**First language that explains itself without external AI**\r\n\r\n```codesi\r\nsamjhao_on()  # Enable explanation mode\r\n\r\nx = 10\r\ny = 20\r\nresult = x + y\r\nlikho(result)\r\n\r\nsamjhao()  # Get detailed explanation\r\n```\r\n\r\n**Output:**\r\n```\r\n\ud83d\udcd6 Code Explanation:\r\n============================================================\r\n1. Variable 'x' mein value 10 store ki\r\n2. Variable 'y' mein value 20 store ki\r\n3. \ud83d\udd22 Operation: 10 + 20 = 30\r\n4. Variable 'result' mein value 30 store ki\r\n============================================================\r\n```\r\n\r\n### 4\ufe0f\u20e3 \ud83c\uddee\ud83c\uddf3 Hinglish Syntax\r\n\r\n**First language designed for Indian developers**\r\n\r\n```codesi\r\n// Variables (English or Hindi)\r\nnaam = \"Rishaank\"\r\nage = 15\r\n\r\n// Conditions (Hinglish)\r\nagar (age < 18) {\r\n    likho(\"Aap minor ho\")\r\n} nahi_to {\r\n    likho(\"Aap adult ho\")\r\n}\r\n\r\n// Loops (Natural Hinglish)\r\nhar i se 1 tak 5 {\r\n    likho(\"Number: \" + i)\r\n}\r\n\r\n// Functions (Intuitive)\r\nkarya greet(naam) {\r\n    vapas \"Namaste, \" + naam\r\n}\r\n```\r\n\r\n---\r\n\r\n## \ud83c\udf93 Real-World Examples\r\n\r\n### Example 1: Student Management System\r\n\r\n```codesi\r\nclass Student {\r\n    banao(naam, roll, marks) {\r\n        ye.naam = naam\r\n        ye.roll = roll\r\n        ye.marks = marks\r\n    }\r\n    \r\n    karya calculate_grade() {\r\n        agar (ye.marks >= 90) {\r\n            vapas \"A+\"\r\n        } ya_phir (ye.marks >= 75) {\r\n            vapas \"A\"\r\n        } ya_phir (ye.marks >= 60) {\r\n            vapas \"B\"\r\n        } nahi_to {\r\n            vapas \"C\"\r\n        }\r\n    }\r\n    \r\n    karya display() {\r\n        likho(\"Student:\", ye.naam)\r\n        likho(\"Roll:\", ye.roll)\r\n        likho(\"Marks:\", ye.marks)\r\n        likho(\"Grade:\", ye.calculate_grade())\r\n    }\r\n}\r\n\r\n// Create students\r\ns1 = new Student(\"Rishaank\", 1, 95)\r\ns2 = new Student(\"Raj\", 2, 78)\r\n\r\n// Display info\r\ns1.display()\r\ns2.display()\r\n```\r\n\r\n### Example 2: Time Machine Debugging\r\n\r\n```codesi\r\ntime_machine_on()\r\n\r\n// Buggy code - let's debug it\r\nbalance = 1000\r\nlikho(\"Initial:\", balance)\r\n\r\nbalance -= 200  // Withdrawal\r\nlikho(\"After withdrawal:\", balance)\r\n\r\nbalance -= 500  // Another withdrawal\r\nlikho(\"After 2nd withdrawal:\", balance)\r\n\r\nbalance -= 400  // ERROR: Insufficient balance!\r\n\r\n// Go back and check\r\npeeche(2)\r\nlikho(\"Checking balance:\", balance)  // 800\r\n\r\n// See complete timeline\r\ntimeline()\r\n```\r\n\r\n### Example 3: File Processing with SAMJHAO\r\n\r\n**First, create `students.txt` with this data:**\r\n```\r\nRishaank,95\r\nRaj,78\r\nPriya,82\r\nAmit,65\r\nNeha,91\r\n```\r\n\r\n**Now run this code:**\r\n```codesi\r\n// Enable explanations\r\nsamjhao_on()\r\n\r\n// Read and process file\r\ntry {\r\n    data = file_padho(\"students.txt\")\r\n    lines = data.todo(\"\\n\")\r\n    \r\n    likho(\"=== Student Results ===\")\r\n    \r\n    // Process each line\r\n    har line mein lines {\r\n        agar (line != \"\") {\r\n            parts = line.todo(\",\")\r\n            naam = parts[0]\r\n            marks = int_bnao(parts[1])\r\n            \r\n            agar (marks >= 75) {\r\n                likho(naam, \"passed with\", marks, \"marks! \u2705\")\r\n            } nahi_to {\r\n                likho(naam, \"needs improvement -\", marks, \"marks\")\r\n            }\r\n        }\r\n    }\r\n} catch(error) {\r\n    likho(\"Error:\", error.message)\r\n    likho(\"Hint: students.txt file banao pehle!\")\r\n}\r\n\r\n// See what happened\r\nsamjhao()\r\n```\r\n\r\n**Expected Output:**\r\n```\r\n=== Student Results ===\r\nRishaank passed with 95 marks! \u2705\r\nRaj passed with 78 marks! \u2705\r\nPriya passed with 82 marks! \u2705\r\nAmit needs improvement - 65 marks\r\nNeha passed with 91 marks! \u2705\r\n\r\n\ud83d\udcd6 Code Explanation:\r\n============================================================\r\n1. File 'students.txt' successfully read\r\n2. Data split into 5 lines\r\n3. Each line processed for name and marks\r\n4. Conditions evaluated for pass/fail\r\n5. Results displayed with formatting\r\n============================================================\r\n```\r\n\r\n---\r\n\r\n## \ud83c\udfae Interactive REPL Mode\r\n\r\n```bash\r\n$ codesi\r\n======================================================================\r\n  \ud83d\ude80 Codesi Programming Language - Interactive Mode\r\n  Version 1.0.0 | Hinglish Programming Language\r\n======================================================================\r\n\r\n\ud83d\udcda Commands:\r\n  help()                       // Show this help                 \r\n  qhelp()                      // Show quick reference            \r\n  license()                    // Show license info   \r\n  copyright()                  // Show copyright info     \r\n  credits()                    // Show credits & thanks            \r\n  exit() or quit()             // Exit REPL \r\n  clear()                      // Clear screen \r\n  vars()                       // Show all variables   \r\n  history()                    // Show command history \r\n  !!                           // Repeat last command \r\n  !5                           // Repeat command #5 from history   \r\n\r\ncodesi:1> naam = \"Rishaank\"\r\ncodesi:2> likho(\"Hello, \" + naam)\r\nHello, Rishaank\r\ncodesi:3> vars()\r\n\r\n\ud83d\udcca Current Variables:\r\n  naam = 'Rishaank'\r\n```\r\n\r\n---\r\n\r\n## \ud83d\udee0\ufe0f Built-in Functions\r\n\r\n### Output Functions\r\n```codesi\r\nlikho(\"Hello\")           // Print output\r\n```\r\n\r\n### Input Functions\r\n```codesi\r\nnaam = input_lo(\"Name: \")          // String input\r\nage = int_lo(\"Age: \")           // Integer input\r\nscore = float_lo(\"Score: \")     // Float input\r\n```\r\n\r\n### Math Functions\r\n```codesi\r\nmath_absolute(-5)        // 5\r\nmath_square(16)          // 4\r\nmath_power(2, 3)         // 8\r\nmath_random(1, 10)       // Random number\r\nmath_gol(3.7)            // 4 (round)\r\n```\r\n\r\n### Type Functions\r\n```codesi\r\ntype_of(value)           // Get type\r\nstring_bnao(123)         // \"123\"\r\nint_bnao(\"456\")          // 456\r\nfloat_bnao(\"3.14\")       // 3.14\r\nbool_bnao(1)             // sach\r\n```\r\n\r\n### Array/String Functions\r\n```codesi\r\nlambai(arr)              // Length\r\nrange(1, 10)             // [1,2,3...9]\r\n```\r\n\r\n---\r\n\r\n## \ud83d\udcda Documentation\r\n\r\nComprehensive guides for all skill levels:\r\n\r\n- **[Installation Guide](docs/INSTALLATION.md)** - Setup instructions\r\n- **[Quickstart Guide](docs/QUICKSTART.md)** - Get started in 5 minutes\r\n- **[Syntax Guide](docs/SYNTAX_GUIDE.md)** - Complete syntax reference\r\n- **[Complete Basics](docs/COMPLETE_BASICS.md)** - Beginner tutorials\r\n- **[Complete Intermediate](docs/COMPLETE_INTERMEDIATE.md)** - Advanced concepts\r\n- **[Advanced Features](docs/ADVANCED_FEATURES.md)** - Time Machine, JAADU, Samjhao\r\n- **[OOP Guide](docs/OOPs.md)** - Object-oriented programming\r\n- **[Functions](docs/FUNCTIONS.md)** - Function reference\r\n- **[Built-in Functions](docs/BUILTIN_FUNCTIONS.md)** - Standard library\r\n\r\n---\r\n\r\n## \ud83c\udfaf Use Cases\r\n\r\n### Perfect For:\r\n\r\n\u2705 **Education** - Teaching programming in Hindi/Hinglish  \r\n\u2705 **Rapid Prototyping** - Fast development with auto-correction  \r\n\u2705 **Debugging** - Time Machine makes debugging trivial  \r\n\u2705 **Learning** - Self-explaining code helps understanding  \r\n\u2705 **Indian Developers** - Natural syntax for Hindi speakers  \r\n\r\n---\r\n\r\n## \ud83c\udf1f Why Codesi?\r\n\r\n| Feature | Traditional Languages | Codesi |\r\n|---------|----------------------|---------|\r\n| Language Barrier | English only | Hinglish (Hindi + English) |\r\n| Error Correction | Manual debugging | Auto-correction (JAADU) |\r\n| Code Understanding | External documentation | Self-explaining (Samjhao) |\r\n| Time Travel Debugging | None | Built-in Time Machine |\r\n| Learning Curve | Steep | Gentle with hints |\r\n| Cultural Relevance | Western-centric | India-first design |\r\n\r\n---\r\n\r\n## \ud83e\udd1d Contributing\r\n\r\nWe welcome contributions! Here's how:\r\n\r\n1. **Fork** the repository\r\n2. **Create** a feature branch (`git checkout -b feature/amazing`)\r\n3. **Commit** changes (`git commit -m 'Add amazing feature'`)\r\n4. **Push** to branch (`git push origin feature/amazing`)\r\n5. **Open** a Pull Request\r\n\r\nSee [CONTRIBUTING.md](CONTRIBUTING.md) for detailed guidelines.\r\n\r\n---\r\n\r\n## \ud83d\udcdd License\r\n\r\nCodesi is open-source software licensed under the [MIT License](LICENSE).\r\n\r\n## \ud83d\udee1\ufe0f Security\r\n\r\nIf you discover any security vulnerabilities, please report them responsibly by following the guidelines in [SECURITY.md](SECURITY.md).\r\n\r\n## \ud83d\udcdc Changelog\r\n\r\nStay updated with the latest changes and improvements by checking our [CHANGELOG.md](CHANGELOG.md).\r\n\r\n## \ud83d\ude4f Acknowledgements\r\n\r\nA huge thank you to Rishaank Gupta for his vision and dedication in creating Codesi. This project is a testament to what passion and innovation can achieve.\r\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "First of its Kind Programming Language",
    "version": "0.0.1",
    "project_urls": {
        "Github": "https://github.com/codesi-lang",
        "Homepage": "https://github.com/codesi-lang"
    },
    "split_keywords": [
        "codesi",
        " hinglish",
        " hindi",
        " programming"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "7f148a61d3ded6a6f6462b3c2fbfd42345e46406d6ca79b2513e947078fc07cf",
                "md5": "46d28f3b21b895e61e24e72d4156218f",
                "sha256": "29a4e30e5cfa3615ead1d474e533b35b158faea7a0380c559b56857d081237f9"
            },
            "downloads": -1,
            "filename": "codesi_lang-0.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "46d28f3b21b895e61e24e72d4156218f",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 41604,
            "upload_time": "2025-10-26T07:31:06",
            "upload_time_iso_8601": "2025-10-26T07:31:06.912795Z",
            "url": "https://files.pythonhosted.org/packages/7f/14/8a61d3ded6a6f6462b3c2fbfd42345e46406d6ca79b2513e947078fc07cf/codesi_lang-0.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "eab99b2a696f429939e9faf4e03ed93c13dcf7ad042c3a2c04077e452dd2e336",
                "md5": "121141e63fe281e20c4d91161bc65ff7",
                "sha256": "5e638edeb1443b0a1ece048729080861e26c4f15dc87e80688948361b7bc0e1c"
            },
            "downloads": -1,
            "filename": "codesi_lang-0.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "121141e63fe281e20c4d91161bc65ff7",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 130977,
            "upload_time": "2025-10-26T07:31:09",
            "upload_time_iso_8601": "2025-10-26T07:31:09.045365Z",
            "url": "https://files.pythonhosted.org/packages/ea/b9/9b2a696f429939e9faf4e03ed93c13dcf7ad042c3a2c04077e452dd2e336/codesi_lang-0.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-10-26 07:31:09",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "codesi-lang"
}
        
Elapsed time: 2.78649s