KamalLang is a beginner-friendly, open-source programming language built on top of Python – designed to teach coding using the charisma, values, and legacy of Kamal Haasan.
🧠 Created with love by a Kamal fan, this project blends:
- 🎬 Cinema + 🧑🏫 Education + 💻 Python
- To inspire newbies, kids, Tamil cinema fans, and Python beginners
- To creatively connect pop culture with programming
- As a tribute to Kamal Haasan's visionary work, intellect, and his mention of Replit during the "Thug Life" promo — which sparked this very journey.
KAMAL.SPEAK→ Print text with Kamal's cinematic flairINTELLECT var = value→ Declare variables (inspired by Kamal's intellect)IF condition THEN→ Run conditional logic- String concatenation and arithmetic operations
- Boolean logic with
ANDoperator - ❤️ Built-in Kamal quotes and symbolic errors
- This project runs directly on both Python and Replit - no setup needed!
- Click the Run button to execute the sample KamalLang program
- Modify the code in
main.pyto create your own KamalLang programs
main.py # KamalLang interpreter and sample program
README.md # You are here!
attached_assets/ # Reference materials and inspiration files
KAMAL.SPEAK "Vanakkam! Welcome to KamalLang"
INTELLECT age = 70
IF age > 60 THEN KAMAL.SPEAK "Still evolving as an actor and thinker!"
# Welcome to KamalLang!
KAMAL.SPEAK "Vanakkam! Welcome to KamalLang - Where Art Meets Code!"
INTELLECT age = 70
INTELLECT films = 230
INTELLECT thug_life = True
IF age > 60 THEN KAMAL.SPEAK "Vetri Nichayam! (Success is certain!)"
IF films > 200 THEN KAMAL.SPEAK "Indian cinema legend!"
IF thug_life AND age > 50 THEN KAMAL.SPEAK "Thug Life: Thinking, Understanding, Growing!"
INTELLECT fans = 1000000
INTELLECT new_fans = fans * 2
KAMAL.SPEAK "Kamal has millions of fans!"
KAMAL.SPEAK "Kamal Haasan is " + str(age) + " years young!"
- KAMAL.SPEAK "message" - Print output with Kamal's signature style
- INTELLECT variable = value - Declare and assign variables
- IF condition THEN action - Conditional execution
- Numbers:
70,3.14 - Strings:
"Vanakkam!" - Booleans:
True,False
- Arithmetic:
+,-,*,/ - Comparison:
>,<,>=,<=,== - Logical:
AND - String concatenation:
"text" + str(variable)
Just like Kamal Haasan's diverse roles and constant evolution, KamalLang encourages:
- Learning through creativity
- Thinking beyond conventional boundaries
- Understanding complex concepts through simple syntax
- Growing as a programmer and thinker
"Thug Life: Thinking, Understanding, Growing!" - The core philosophy that drives this language.
This project is built with educational intent. Feel free to:
- Fork this Replit project
- Add new KamalLang features
- Create educational content
- Share your KamalLang programs
- Kamal Haasan - The inspiration behind everything
- Replit - For providing the perfect platform mentioned by Kamal himself
- Tamil Cinema - For endless creativity and storytelling
- Python Community - For the foundation that makes this possible
Built with ❤️ for education, cinema, and code.
"Life is beautiful, keep learning!" - Kamal Haasan philosophy in every line of code.
Vanakkam! Happy Coding! 🎭