Code Editor โน๏ธ
Use LIGHTS to start, CAMERA for main code, ACTION to end.
BOLO for output, VIJAY for variables, AGAR for conditions.
Output Console โน๏ธ
Ready to run your AmitabhC code...
Keh diya, bas keh diya! ๐ฌ
โจ Enhanced Security Features:
- No eval() or unsafe execution
- Input sanitization and validation
- Execution timeouts and memory limits
- XSS protection enabled
Example Programs
Click any example to load it into the editor and start learning AmitabhC!
๐ฌ Featured Commands from Iconic Films & Shows ๐ฌ
Each command in AmitabhC is inspired by Bollywood's greatest moments!
LIGHTS/CAMERA/ACTION
SHOLAY
DEEWAR
ZANJEER
COOLIE
SHAKTI
KAALIA
AGNEEPATH
KBC
Complete Language Reference
๐ฌ Program Structure
| LIGHTS | Program start (required) |
| CAMERA | Main code section |
| ACTION | Program end (required) |
| // | Comment line |
๐พ Variables & Data
| VIJAY | Variable declaration |
| DON | Constant declaration |
| BOLO | Print/Output to console |
| SUNO | Input from user |
| KHAZANA[] | Array declaration |
๐ Control Flow
| AGAR/NAHI TOH/BAS | If/Else/End condition |
| BAAR BAAR N/KHATAM | For loop with count |
| JAB TAK/RAHEGA | While loop condition |
| ZANJEER_LOOP/TAB TAK | Do-while loop |
| HAR EK item MEIN arr | For-each loop |
| KBC_SAWAAL/OPTION/AGLE_SAWAAL | Switch-case |
| DEEWAR / SILSILA | Break / Continue |
| BADHAO / GHATAO | Increment / Decrement |
โก Functions & Error Handling
| NAAM/PURA | Function definition |
| WAPAS | Return value from function |
| AGNEEPATH/MRITYU/PRATIGYA | Try/Catch/Finally |
๐ Built-in Namespaces
| SHAHENSHAH.*(text) | String: length, uppercase, lowercase, replace, trim, split, reverse... |
| COOLIE.*(n) | Math: abs, sqrt, pow, floor, ceil, round, min, max, PI, E... |
| KHAZANA.*(arr) | Array: length, push, pop, sort, join, includes, indexOf... |
| NASEEB.*() | Time: saal, mahina, din, ghanta, tarikh, timestamp... |
| ZANJEER.*(val) | Type: type, isAnk, isShabd, toAnk, toShabd... |
| DEEWAR.*(dict) | Dict: keys, values, hasKey, remove, size, merge |
๐ฆ Data Types
| VIJAY x = 42 | Number variable |
| VIJAY s = "hello" | String (supports ${interpolation}) |
| SHAKTI / KAALIA | Boolean true / false |
| LAAWARIS | Null value |
| VIJAY a[] = {1, 2, 3} | Array |
| DEEWAR_BANAO{"k": v} | Dictionary |
| DON x = 42 | Immutable constant |
๐ฏ KBC Interactive Commands
| DEVIYON_AUR_SAJJANO | Program greeting/welcome |
| COMPUTER_JI_LOCK_KIYA_JAYE | Lock/confirm answer |
| LIFELINE_FIFTY_FIFTY | Remove 2 wrong options |
| AUDIENCE_POLL | Get majority opinion |
| PHONE_A_FRIEND "name" | Call expert for help |
๐ข Operators
| +, -, *, /, % | Arithmetic |
| ==, !=, <, >, <=, >= | Comparison |
| &&, ||, ! | Logical |
| +=, -=, *=, /=, %= | Compound assignment |