म
MarathiCodeby Sprout Tech
Documentation topicsGetting Started
MarathiCode v0.2.0

Getting Started

मराठी वाक्यरचनेत प्रोग्रामिंग

MarathiCode is a Marathi-native, interpreted programming language developed by Sprout Tech. It explores programming through Marathi-native syntax and Devanagari identifiers while retaining conventional programming-language structures: variables, conditions, loops, functions and lists.

MarathiCode is a research prototype. Whether native-language programming produces measurable educational benefits remains a question for future empirical study.

Your first program

MarathiCode programs are plain text files with the .mr extension. छापा prints a value on its own line:

hello.mr
// पहिला मराठीकोड प्रोग्राम
छापा("नमस्कार, जग!")
Output (आउटपुट)
नमस्कार, जग!

A slightly bigger program

This program uses a variable, a function, a loop and a condition:

tour.mr
कार्य वर्ग(n) {
    परत n * n
}

साठी (i = 1; i <= 4; i = i + 1) {
    जर i % 2 == 0 तर {
        छापा(i + " चा वर्ग " + वर्ग(i))
    } नाहीतर {
        छापा(i + " विषम आहे")
    }
}
Output (आउटपुट)
1 विषम आहे
2 चा वर्ग 4
3 विषम आहे
4 चा वर्ग 16

What the language contains

The fastest way to try it is the Playground, which runs directly in the browser.