AmitabhC
The Bollywood Programming Language
50+ keywords, all from Amitabh Bachchan films
๐ Secure by Design โข โฟ Fully Accessible โข ๐ฑ Mobile Friendly
๐ Why Choose AmitabhC?
Experience programming like never before with Bollywood-inspired syntax and secure execution!
50+ Bollywood Keywords
Every keyword is an Amitabh Bachchan film or dialogue. Variables are VIJAY, try-catch is AGNEEPATH, booleans are SHAKTI/KAALIA!
- Film-based keywords (SHOLAY, DEEWAR, DON)
- 6 built-in namespaces (SHAHENSHAH, COOLIE...)
- Dictionaries, arrays, string interpolation
Secure by Design
No eval(), input sanitization, and protection against common vulnerabilities. Safe to run untrusted code in the browser.
- No eval() or unsafe execution
- XSS protection and input sanitization
- Execution timeouts and memory limits
Complete Language
Full control flow: if/else-if, while, for-each, do-while, switch-case, try-catch-finally, functions with recursion, and more!
- AGNEEPATH/MRITYU/PRATIGYA (try-catch-finally)
- KBC_SAWAAL switch-case with OPTION blocks
- ZANJEER_LOOP do-while, HAR EK for-each
npm CLI
Install globally with npm and run AmitabhC programs from your terminal. REPL, file runner, and test suite included.
- amitabhc run / repl / test
- Interactive REPL with history
- 16 built-in example programs
Mobile Excellence
Fully responsive design with PWA support. Code anywhere, anytime with offline functionality and native app-like experience on mobile devices.
- Progressive Web App (PWA)
- Offline functionality
- Auto-sync when online
Universal Access
WCAG 2.1 AA compliant with screen reader support, keyboard navigation, high contrast options, and accessibility features.
- Screen reader optimized
- Full keyboard navigation
- High contrast support
๐ฌ See AmitabhC in Action
Here's a simple program that showcases the Bollywood magic with secure execution!
LIGHTS
CAMERA
// AmitabhC v4.0.0 โ Bollywood Programming!
VIJAY hero = "Amitabh"
VIJAY films[] = {"Deewar", "Sholay", "Don", "Agneepath"}
// String interpolation & for-each loop
BOLO "Star: ${hero}, Films: ${KHAZANA.length(films)}"
HAR EK movie MEIN films
BOLO " ๐ฌ ${movie}"
KHATAM
// Try-catch error handling
AGNEEPATH
VIJAY x = 10 / 0
MRITYU err
BOLO "Caught: ${err}"
PRATIGYA
BOLO "Agneepath complete!"
KHATAM
// Switch-case
KBC_SAWAAL hero
OPTION "Amitabh"
BOLO "Shahenshah found!"
SAHI_JAWAB
BOLO "Unknown hero"
AGLE_SAWAAL
ACTION
๐บ Expected Output:
Install AmitabhC
Run AmitabhC programs from your terminal. One command, that's it.
$ npm install -g amitabhc $ amitabhc run hello.amitabhc Namaste, Duniya! $ amitabhc repl amitabhc> BOLO "Don ko pakadna mushkil hi nahi, naamumkin hai!" Don ko pakadna mushkil hi nahi, naamumkin hai!
Install globally, run anywhere
Syntax highlighting & snippets
Code in browser, no install
๐ Security First Approach
AmitabhC is built with security from the ground up.
๐ก๏ธ No Code Injection
Zero use of eval() or Function() constructors. All code execution is through secure parsing.
๐งน Input Sanitization
All user inputs are sanitized to prevent XSS and injection attacks.
โฑ๏ธ Resource Limits
Built-in execution timeouts, memory limits, and loop protections prevent abuse.
๐ CSP Headers
Content Security Policy implementation blocks unauthorized script execution.