Code Editor โ„น๏ธ

Use LIGHTS to start, CAMERA for main code, ACTION to end. BOLO for output, VIJAY for variables, AGAR for conditions.
Execute your AmitabhC program securely

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

LIGHTSProgram start (required)
CAMERAMain code section
ACTIONProgram end (required)
//Comment line

๐Ÿ’พ Variables & Data

VIJAYVariable declaration
DONConstant declaration
BOLOPrint/Output to console
SUNOInput from user
KHAZANA[]Array declaration

๐Ÿ”€ Control Flow

AGAR/NAHI TOH/BASIf/Else/End condition
BAAR BAAR N/KHATAMFor loop with count
JAB TAK/RAHEGAWhile loop condition
ZANJEER_LOOP/TAB TAKDo-while loop
HAR EK item MEIN arrFor-each loop
KBC_SAWAAL/OPTION/AGLE_SAWAALSwitch-case
DEEWAR / SILSILABreak / Continue
BADHAO / GHATAOIncrement / Decrement

โšก Functions & Error Handling

NAAM/PURAFunction definition
WAPASReturn value from function
AGNEEPATH/MRITYU/PRATIGYATry/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 = 42Number variable
VIJAY s = "hello"String (supports ${interpolation})
SHAKTI / KAALIABoolean true / false
LAAWARISNull value
VIJAY a[] = {1, 2, 3}Array
DEEWAR_BANAO{"k": v}Dictionary
DON x = 42Immutable constant

๐ŸŽฏ KBC Interactive Commands

DEVIYON_AUR_SAJJANOProgram greeting/welcome
COMPUTER_JI_LOCK_KIYA_JAYELock/confirm answer
LIFELINE_FIFTY_FIFTYRemove 2 wrong options
AUDIENCE_POLLGet majority opinion
PHONE_A_FRIEND "name"Call expert for help

๐Ÿ”ข Operators

+, -, *, /, %Arithmetic
==, !=, <, >, <=, >=Comparison
&&, ||, !Logical
+=, -=, *=, /=, %=Compound assignment
Ready