Skip to content
/ ShAKti Public

शक्ति ( ShAKti ) is a programming language that blends the ancient wisdom of Sanskrit with modern world of coding precision, empowering developers to create with clarity and strength.

License

Notifications You must be signed in to change notification settings

AKris15/ShAKti

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

108 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

शक्ति (ShAKti)

~ The Sanskrit-Inspired Programming Language

🔥 Introduction

शक्ति (ShAKti) is an innovative programming language that bridges the elegance of Sanskrit with the power and efficiency of modern programming. Developed by the duo BAKMAN (AK and Dishant), ShAKti is designed to provide a clear, structured, and high-performance coding experience while staying true to the philosophy of simplicity and expressiveness.

Crafted in C, ShAKti features a custom-built lexer, parser, and text editor, offering a seamless development environment from the ground up.


🚀 Why ShAKti?

ShAKti is more than just a language—it’s a new way to think about programming:

  • 🧠 Inspired by Sanskrit – Uses structured yet expressive syntax inspired by one of the oldest languages.
  • High Performance – Built with C, ensuring speed and efficiency.
  • 🖥️ Unique Text Editor (Namo) – Provides a fresh and intuitive coding environment, offering a seamless and efficient user experience built from Scratch in C.
  • 🌍 Open Source – Contributing to the free and open-source community.
  • 🎯 Designed for Clarity – Code that is readable, elegant, and easy to maintain.
  • 📢 Spreading Awareness of Ancient Indian Languages – Showcasing the richness of Sanskrit in the modern world.
  • 🌏 Accessible to Non-English Speakers – Since Sanskrit is similar to Hindi, it makes coding easier for those who do not know English.

🔧 Features

Sanskrit-like Syntax – A fresh approach to writing code with clarity.
Integrated Text Editor (Namo) – A dedicated environment for writing and executing ShAKti code, built from scratch in C.
Strong Type System – Encouraging disciplined and structured programming.
Memory Efficient – Optimized for minimal resource usage.
Cross-Language Compatibility in Namo – While designed for ShAKti, Namo aims to be a versatile text editor compatible with other programming languages as well.


📜 ShAKti Syntax Reference

Sanskrit Keyword Meaning
पूर्ण Defines a datatype (Complete)
यदि if
अन्यथा else
चक्र loop
से from
तक to
लेख print
प्रवे input
कक्षा class
कर्म function (work/task)
Not/No

💻 Installation & Usage

📥 Prerequisites

Ensure you have the following installed:

  • GCC (or any C compiler)
  • Make (for easy compilation)
  • Git (to clone the repository)

🔨 Installation Steps

# Clone the repository
git clone https://github.com/BAKMAN-ShAKti/ShAKti.git
cd ShAKti

# Build the project
make

# Run the ShAKti REPL
./shakti

📌 Running a ShAKti Program

To execute a .shakti script, use:

./shakti myscript.shakti

📜 Example Code (ShAKti Syntax)

# Define a variable
पूर्ण संख्या = 10;

# Print output
लेख("नमस्ते, शक्ति(ShAKti)!");

# Loop example
चक्र (पूर्ण i से 0 तक 5) {
    लेख("i का मान: ", i);
}

🤝 Contributing

We welcome contributions! To get started:

  1. Fork the repository
  2. Create a new branch (feature-new-idea)
  3. Commit your changes (git commit -m "Added new feature")
  4. Push to your branch (git push origin feature-new-idea)
  5. Create a Pull Request

📜 License

ShAKti is open-source under the GPLv2 License.


🌐 Community & Support

Let’s redefine programming together with ShAKti! 🚀

About

शक्ति ( ShAKti ) is a programming language that blends the ancient wisdom of Sanskrit with modern world of coding precision, empowering developers to create with clarity and strength.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •