~ The Sanskrit-Inspired Programming Language
शक्ति (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.
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.
✅ 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.
| Sanskrit Keyword | Meaning |
|---|---|
| पूर्ण | Defines a datatype (Complete) |
| यदि | if |
| अन्यथा | else |
| चक्र | loop |
| से | from |
| तक | to |
| लेख | |
| प्रवे | input |
| कक्षा | class |
| कर्म | function (work/task) |
| न | Not/No |
Ensure you have the following installed:
- GCC (or any C compiler)
- Make (for easy compilation)
- Git (to clone the repository)
# Clone the repository
git clone https://github.com/BAKMAN-ShAKti/ShAKti.git
cd ShAKti
# Build the project
make
# Run the ShAKti REPL
./shaktiTo execute a .shakti script, use:
./shakti myscript.shakti# Define a variable
पूर्ण संख्या = 10;
# Print output
लेख("नमस्ते, शक्ति(ShAKti)!");
# Loop example
चक्र (पूर्ण i से 0 तक 5) {
लेख("i का मान: ", i);
}
We welcome contributions! To get started:
- Fork the repository
- Create a new branch (
feature-new-idea) - Commit your changes (
git commit -m "Added new feature") - Push to your branch (
git push origin feature-new-idea) - Create a Pull Request
ShAKti is open-source under the GPLv2 License.
- 📩 Contact to the Devs: Reach out to AK & Dishant at [herogupta626@protonmail.com] [dishantsinghrathore786@gmail.com]
Let’s redefine programming together with ShAKti! 🚀