Skip to content

Jorichardw/Ritam

🔥 Ritam — Programming in Your Own Language

Program in your own language. Build for the real world.

A multilingual, full-stack programming language that lets developers write code in native human languages like Tamil, Hindi, Telugu, Kannada, Malayalam, and Spanish. Ritam compiles to Web, Node.js, and modern application platforms.


✨ Why Ritam?

  • 🌍 Write code in your own language (Tamil, Hindi, Telugu, Kannada, Malayalam, Spanish)
  • 🧠 Think natively — no forced English keywords
  • 🛡️ Security-first design with explicit #std access
  • ⚡ Single source, multiple targets
  • 🧩 Modern language constructs (structs, enums, pattern matching)
  • 🎓 Ideal for education, governance, and inclusive computing
  • 🚀 Built for long-term production and digital sovereignty

🚀 Quick Example (100% Native Script)

Tamil

செயல் வணக்கம்() {
    பதிவிடு("வணக்கம் உலகம்!")
}

Output:

வணக்கம் உலகம்!

No English keywords. No transliteration. Pure native code.

🧩 Language Basics

Variables & Constants

மாறி பெயர் = "ரிதம்"
மாறி வயது = 10

Conditionals

எனில் (வயது >= 10) {
    பதிவிடு("பயனர் தகுதியானவர்")
} இல்லை {
    பதிவிடு("தகுதி இல்லை")
}

Loops

சுழற்சி (மாறி i = 1; i <= 5; i = i + 1) {
    பதிவிடு(i)
}

Functions

செயல் வணக்கம்(பெயர்) {
    திருப்பு "வணக்கம், " + பெயர்
}

🌏 Supported Languages

Language Script Status
Tamil தமிழ் ✅ Production
Hindi हिंदी ✅ Production
Telugu తెలుగు ✅ Production
Kannada ಕನ್ನಡ ✅ Production
Malayalam മലയാളം ✅ Production
Spanish Español ✅ Production

All supported languages include native keywords, native error messages, and syntax parity.

🧠 Core Language Keywords

Tamil Hindi Concept
செயல் फंक्शन Function
மாறி चर Variable
எனில் अगर Conditional
இல்லை अन्यथा Else
திருப்பு वापस Return
மெய் / பொய் सच / झूठ Boolean

🧠 Advanced Features

Feature Description
கட்டமைப்பு / संरचना Structs
பட்டியல் / गणना Enums
பொருத்து Pattern Matching
#std Library Explicit system access
Async/Await Native async support

🛡️ Sovereign Standard Library (#std)

Ritam enforces explicit privilege access:

#அடித்தளம்.பதிவிடு("பாதுகாப்பான வெளியீடு")
  • No hidden IO
  • No silent system calls
  • Explicit security model

🖥️ Installation

npm install -g ritam

Verify installation:

ritam --version

⚙️ CLI Usage

ritam init                          # Initialize new project
ritam run main.rvx --lang Tamil     # Run a Ritam file
ritam compile main.rvx -t node      # Compile to Node.js
ritam compile main.rvx -t web       # Compile to Web
ritam repl --lang Tamil             # Start interactive REPL

🎯 Compilation Targets

Target Output Status
Web .js ✅ Production
Node.js .js ✅ Production
Mobile (Flutter) .dart ✅ Production
React Native .jsx 🧪 Alpha

🖥️ Native Error Messages

Errors always appear in the same language as your source code.

Example (Tamil):

'=' எதிர்பார்க்கப்பட்டது ஆனால் 'EOF' கிடைத்தது

📘 Documentation

🤝 Contributing

Ritam is open-source and community-driven. We welcome:

  • Bug reports and feature requests
  • Language additions
  • Documentation improvements
  • Code contributions

See CONTRIBUTING.md for guidelines.

📄 License

MIT License - see LICENSE for details.


If you believe programming should belong to everyone, Ritam is for you. 🌍

About

A universal, full-stack programming language for building apps in your native human language.

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors