Programming language that lets you write code in Sanskrit using Devanagari script, similar to JavaScript. Supports Devanagari syntax, JavaScript-like environment, and can run on Node.js. Features include function declarations, string operations, and arithmetic expressions. More features like variables, loops, and arrays are coming soon. Open source and available on GitHub.
Write code using Sanskrit words and grammar, making programming more familiar for Sanskrit speakers.
Native support for Devanagari script and numerals, allowing seamless integration of traditional scripts in coding.
Easy to install and run with Node.js, leveraging the power and simplicity of JavaScript.
Facilitates fast development with immediate feedback, streamlining the coding and testing process.
Runs on any platform where Node.js is available, increasing accessibility and flexibility for developers.
Install the Sanskrit programming language using npm with the command `npm install -g sanskrit-lang`. This allows you to write and execute Sanskrit scripts.
Walkthrough to create your first program in a file named `test.sms` which outputs `namaste`. Execute it using `sanskrit run test.sms`.
Define functions using the keyword `avid`. Demonstrates a sample function and how to use it.
Work with strings written in both Devanagari and Latin scripts. Shows examples of both text types.
Use either Devanagari or Arabic numerals in your programs. Examples show how to use both numeral systems.
Access the Sanskrit CLI to run scripts and start the REPL (Coming Soon). Sample command: `sanskrit run program.sms`.
Uses Devanagari script for keywords and identifiers in programming syntax.
Includes various data types like Number, String, Boolean, Array, and Object.
Provides structures for controlling the flow of the program, including conditional statements.
Offers a standard library with built-in functions and modules for common tasks.
Covers complex subjects such as memory management, concurrency, modules and packages, and error handling.
A simple program that prints 'Hello World!' to the console.
Examples demonstrating basic arithmetic operations like addition, subtraction, multiplication, and division.
A program that shows how to concatenate strings and print them.
Examples on how to represent and print numbers in binary and Arabic numeral systems.
Upcoming feature showcasing the use of variables and control structures like if-else statements.
Upcoming feature demonstrating array creation and accessing elements.
Upcoming feature illustrating object creation and property access.
Enables developers to write code using Sanskrit instead of traditional programming syntax like `if`, `else`, `for`, etc.
Supports sentences and phrases written in different styles of Sanskrit, like 1, 2, 3, or 1, 2, 3, for versatile coding.
Allows defining and calling functions using Sanskrit syntax, making the programming experience rooted in the ancient language.
Allows for single-line and multi-line comments in code, similar to popular programming languages.
Functions are declared using the 'karyam' keyword and can include parameters and logic.
Supports strings in both Devanagari and Latin scripts with string concatenation capabilities.
Supports both Devanagari and Arabic numerics for handling numbers.
Includes built-in printing functions to output values to the console.
Upcoming support for variable declaration and usage in code.
Upcoming support for control structures like if-else statements, loops, etc.
Upcoming feature to handle arrays including access by index.
Upcoming feature to manage objects with properties and methods.
Provides error messages for common issues like mispelled function names or syntax errors.