Skip to content

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. 🎭🐜

Notifications You must be signed in to change notification settings

Nischal-Acharya/nepLang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

23 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

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

To start playing with NepLangCPP, follow these simple steps:

  1. Clone the Repository:

    https://github.com/Nischal-Acharya/nepLang.git
  2. Include the NepLangCPP Header:

    #include "nepLangCPP"
    
  3. Write Your NepLangCPP Code:

    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:

    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

#include "nepLang.h"

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

Example 2: Simple Addition

#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 [email protected] or [email protected].

Developers

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

Developers Portfolio Photo
Nishchal Acharya https://nishchalacharya.com.np Nishchal Acharya
Sahil Acharya https://sahilacharya.com.np Sahil Acharya

Enjoy coding in NepLangCPP for some lighthearted programming fun! πŸŽ‰

About

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. 🎭🐜

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages