/Sanskriti

A Sankrit based Toy Programming Language

Primary LanguageJavaScriptMIT LicenseMIT

Sanskrit Code Interpreter

Overview

This project is a simple Sanskrit-like code interpreter written in JavaScript. The interpreter allows users to write code using syntax inspired by the Sanskrit language and execute it within a web browser environment.

Features

  • Variable declaration and assignment using Sanskrit-inspired syntax.
  • Conditional statements (If-Else) with Sanskrit keywords.
  • Custom mudranam() function for processing data.
  • Input functions for both strings and integers with Sanskrit keywords.

How to Use

  1. Clone the repository to your local machine.
  2. Open the index.html file in a web browser.
  3. Use the provided editor to write Sanskrit-inspired code.
  4. Click the "Run Code" button to execute the code.
  5. View the output in the "Output" tab.

Code Structure

  • script.js: Main JavaScript file containing the interpreter logic.
  • index.html: HTML file with the user interface.
  • Styles and other assets are included for a complete user experience.

Getting Started

To run the project locally, simply clone the repository and open the index.html file in a web browser.

Contributing

Contributions are welcome! Feel free to open issues, submit pull requests, or suggest improvements.

License

This project is licensed under the MIT License - see the LICENSE file for details