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.
To start playing with NepLangCPP, follow these simple steps:
-
Clone the Repository:
https://github.com/Nischal-Acharya/nepLang.git
-
Include the NepLangCPP Header:
#include "nepLangCPP"
-
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 }
-
Compile and Run:
g++ your_file.cpp -o output ./output
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.
#include "nepLang.h"
int main(){
vana_sathi << "Namaste Sansar! \n";
}
#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!";
}
If you have any questions, feedback, or suggestions, feel free to reach out to us at [email protected] or [email protected].
NepLangCPP is developed and maintained by Nishchal Acharya and Sahil Acharya.
Developers | Portfolio | Photo |
---|---|---|
Nishchal Acharya | https://nishchalacharya.com.np | |
Sahil Acharya | https://sahilacharya.com.np |
Enjoy coding in NepLangCPP for some lighthearted programming fun! π