An open API service indexing awesome lists of open source software.

https://github.com/acrnischal/neplang

Step into NepLangCPP, where code is spicier than curry and syntax is as wild as a mountain breeze! 💻🏔️ NepLangCPP is the rebel of programming – more like a Bollywood dance-off than a serious coding affair. It's where bugs are features and errors are just the language telling jokes. 🎭🐜
https://github.com/acrnischal/neplang

cpp language nepaliprogramming neplangcpp

Last synced: about 1 year ago
JSON representation

Step into NepLangCPP, where code is spicier than curry and syntax is as wild as a mountain breeze! 💻🏔️ NepLangCPP is the rebel of programming – more like a Bollywood dance-off than a serious coding affair. It's where bugs are features and errors are just the language telling jokes. 🎭🐜

Awesome Lists containing this project

README

          

# NepLangCPP

Welcome to the NepLangCPP repository! NepLangCPP is a programming language designed for fun and experimentation. Please note that it is not intended for serious use but rather as a playful and creative exploration of programming concepts in a Nepali-inspired syntax.

Introduction Image

## Table of Contents
- [Getting Started](#getting-started)
- [Syntax](#syntax)
- [Examples](#examples)
- [Contact](#contact)
- [Developers](#developers)

## Getting Started

To start playing with NepLangCPP, follow these simple steps:

1. **Clone the Repository:**
```bash
https://github.com/AcrNischal/nepLang.git
```

2. **Include the NepLangCPP Header:**
```cpp
#include "nepLangCPP"

```

3. **Write Your NepLangCPP Code:**
```cpp
int main() {
sankhya a = 5;
sankhya b = 10;

yedi (a < b) {
vana_sathi << "b bhaneko a bata thulo cha.";
} vaynaVane {
vana_sathi << "a bhaneko b bata thulo cha.";
}

xordeu
}
```

4. **Compile and Run:**
```bash
g++ your_file.cpp -o output
./output
```

## Syntax

NepLangCPP follows a simple syntax inspired by the Nepali language. It's designed to be quirky and unconventional for a lighthearted coding experience.

| NepLangCPP Syntax | Description |
| ----------------- | ------------------------------------------ |
| `yedi` | If statement |
| `vana_sathi` | Output stream (similar to `cout` in C++) |
| `maga_sathi` | Input stream (similar to `cin` in C++) |
| `jaba_samma` | For loop |
| `gara` | Do-while loop |
| `sankhya` | Integer data type |
| `aanka` | Float data type |
| `thuloAanka` | Double data type |
| `dhacha` | Struct |
| `katroXa` | Sizeof operator |
| `samjeu` | Static keyword |
| `khali` | Void keyword |

Feel free to explore more in the examples section.

## Examples

### Example 1: Hello World
```cpp
#include "nepLang.h"

int main(){
vana_sathi << "Namaste Sansar! \n";
}
```

### Example 2: Simple Addition
```cpp
#include "nepLang.h"

int main(){
sankhya autaNumber;
sankhya arkoNumber;

vana_sathi << "Auta Number Deu: ";
maga_sathi >> autaNumber;

vana_sathi << "Arko Number Deu: ";
maga_sathi >> arkoNumber;

vana_sathi << "Timro Uttar " << autaNumber + arkoNumber << " aayo!";
}
```

## Contact

If you have any questions, feedback, or suggestions, feel free to reach out to us at [nismsg1@gmail.com](mailto:nismsg1@gmail.com) or [acrsahil18@gmail.com](mailto:acrsahil18@gmail.com).

## Developers

NepLangCPP is developed and maintained by Nishchal Acharya and Sahil Acharya.

| Developers | Portfolio | Photo |
| ----------------- | ------------------------------------------ |-------|
| Nishchal Acharya | [https://nishchalacharya.com.np](https://nishchalacharya.com.np) | Nishchal Acharya |
| Sahil Acharya | [https://sahilacharya.com.np](https://sahilacharya.com.np) | Sahil Acharya |

Enjoy coding in NepLangCPP for some lighthearted programming fun! 🎉