Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

marathiscript

atikinverse221MIT1.0.1

MarathiScript - A fun programming language in Marathi. Created by Atikin Verse.

marathi, Atikin, Verse, Atikin Verse, marathiscript, programming-language, fun, interpreter, coding-in-marathi, indian-language-programming, native-language-coding, beginner-friendly, education, learn-to-code, marathi-developers, devtools, cli-tool, scripting, marathi-syntax, marathi-coding, console-logging, variables, loops, conditions, arrays, objects, functions, if-else, for-loop, while-loop, switch-case, marathi-programmer, open-source, atikin-verse, marathi-dev, marathi-language, text-based-coding, simple-scripting

readme

🪔 MarathiScript

A fun, beginner-friendly, Marathi language-based programming language built for Indian developers who want to code in their own mother tongue. With syntax inspired by Marathi words and grammar, MarathiScript makes programming more relatable, fun, and culturally connected.

Created by Atikin Verse.


📌 Snippets

Simple code snippet table for MarathiScript projects.

🧠 MarathiScript Syntax 💻 JavaScript Equivalent
केवल x = 5 let x = 5
स्थिर y = 10 const y = 10
लिहा "नमस्कार" console.log("नमस्कार")
जर (x > 3) if (x > 3) {
अन्यथा } else {
जोपर्यंत (x < 5) while (x < 5) {
कार्य greet(नाव) function greet(name) {
प्रदत्त x * y return x * y
कार्य समाप्त }
आह्वान greet("प्रिय") greet("प्रिय")
सत्य true
असत्य false
पढा_फाइल "data.txt" fs.readFileSync("data.txt", "utf-8")
लिहा_फाइल "out.txt", "hi" fs.writeFileSync("out.txt", "hi")
प्रयत्न try {
दोष (error) } catch (error) {
त्यक्त "संदेश" throw new Error("संदेश")
घटना click = लिहा "ok" click = function() { console.log("ok") }

🚀 Features

  • Pure Marathi syntax for variable declaration, loops, conditions, and more.
  • Easy-to-use CLI tool for running .ms files.
  • Works without showing or mentioning JavaScript anywhere.
  • Beginner-friendly — learn programming in your own mother tongue.
  • File operations (read/write), error handling, and event handling in Marathi.
  • Created with ❤️ by Atikin Verse.

🔧 Installation

Step Command / Description
Clone the repository git clone https://github.com/atikinverse/marathiscript.git
Navigate to project folder cd marathiscript
Install globally npm install -g .
Run a MarathiScript file marathiscript path/to/file.ms

🏁 Getting Started

📌 Examples with Output

1️⃣ Hello World

लिहा("नमस्कार जग");

Output:

नमस्कार जग

2️⃣ Variables (let / const)

केवल नाव = "राम";
स्थिर वय = 25;
लिहा(नाव, वय);

Output:

राम 25

3️⃣ If-Else Condition

केवल वय = 20;

जर (वय > 18) {
    लिहा("प्रौढ");
} अन्यथा {
    लिहा("लहान");
}

Output:

प्रौढ

4️⃣ For Loop

पुन्हा (केवल i = 1; i <= 5; i = i + 1) {
    लिहा("गणना:", i);
}

Output:

गणना: 1
गणना: 2
गणना: 3
गणना: 4
गणना: 5

5️⃣ While Loop

केवल i = 1;

जोपर्यंत (i <= 3) {
    लिहा("क्रमांक:", i);
    i = i + 1;
}

Output:

क्रमांक: 1
क्रमांक: 2
क्रमांक: 3

6️⃣ Function Call

कार्य नमस्कार() {
    लिहा("नमस्कार जग!");
}
नमस्कार();

Output:

नमस्कार जग!

7️⃣ Array

संख्या = [1, 2, 3, 4];
लिहा(संख्या);

Output:

[1, 2, 3, 4]

8️⃣ Array Includes

केवल फळे = ["सफरचंद", "केळी", "संत्री"];

जर (फळे.असलेका("केळी")) {
    लिहा("केळी आहे");
} अन्यथा {
    लिहा("केळी नाही");
}

Output:

केळी आहे

9️⃣ Object Example

केवल विद्यार्थी = {
    नाव: "आकाश",
    वय: 22,
    शहर: "पुणे"
};

लिहा(विद्यार्थी.नाव, विद्यार्थी.शहर);

Output:

आकाश पुणे

🔟 Switch Case

// आठवड्याचा दिवस प्रिंट करणारा प्रोग्राम

दिवस = 3;

जर (दिवस == 1) {
    लिहा("सोमवार");
} अन्यथा जर (दिवस == 2) {
    लिहा("मंगळवार");
} अन्यथा जर (दिवस == 3) {
    लिहा("बुधवार");
} अन्यथा जर (दिवस == 4) {
    लिहा("गुरुवार");
} अन्यथा जर (दिवस == 5) {
    लिहा("शुक्रवार");
} अन्यथा जर (दिवस == 6) {
    लिहा("शनिवार");
} अन्यथा जर (दिवस == 7) {
    लिहा("रविवार");
} अन्यथा {
    लिहा("चुकीचा दिवस");
}

Output:

बुधवार

⚙️ Usage

Run MarathiScript file via CLI:

marathiscript path/to/file.ms

Example:

marathiscript examples/hello.ms

🔖 License

MIT License मध्ये दिले आहे.


🧑‍💻 Creator

Atikin Verse हृदयापासून तयार — केवळ शिक्षण आणि भाषाप्रेमासाठी ❤️


FOLLOW US ON For more information:

Join our social media for exciting updates, news, and insights! Follow us on :

ACCOUNTS USERNAME
FACEBOOK atikinverse
INSTAGRAM atikinverse
LINKEDIN atikinverse
TWITTER (X) atikinverse
THREADS atikinverse
PINTREST atikinverse
QUORA atikinverse
REDDIT atikinverse
TUMBLR atikinverse
SNAPCHAT atikinverse
SKYPE atikinverse
GITHUB atikinverse

📬 Feedback / Suggestions

MarathiScript — मराठी भाषेत मजेदार प्रोग्रामिंग! 🚀