AmitabhC

The Bollywood Programming Language

๐Ÿ”’ 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!

๐ŸŽฌ AmitabhC Program
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:

Star: Amitabh, Films: 4
๐ŸŽฌ Deewar
๐ŸŽฌ Sholay
๐ŸŽฌ Don
๐ŸŽฌ Agneepath
Caught: Division by zero!
Agneepath complete!
Shahenshah found!
โ–ถ๏ธ Try This Code Now! ๐Ÿš€ Open in Pro IDE

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!
📦
npm Package

Install globally, run anywhere

💻
VS Code Extension

Syntax highlighting & snippets

🌐
Web Playground

Code in browser, no install

⭐ Star on GitHub 📖 Language Bible

๐Ÿ”’ 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.