ArnoldC, an Arnold Schwarzenegger-based programming language

Ever wondered why you couldn’t type YOU HAVE BEEN TERMINATED to end a line of code?

Click here to view the Original Image Size


Well now you can, using ArnoldC, an imperative programming language that replaces basic keywords with quotes from various Arnold Schwarzenegger movies. The language is parsed using parboiled and ASM to generate Java bytecode.

Created by programmer lhartikk and hosted on GitHub, ArnoldC re-appropriates the semantics of Arnold’s classic one-liners to “discover new meanings from the Arnold movies with the means of computer science.”

Whether you buy into the philosophy of Arnold’s faithful coding disciple or not, typing HASTA LA VISTA, BABY instead of EndMethodDeclaration is just more fun.

Here’s a rundown of a few of ArnoldC’s keywords:
True: NO PROBLEMO
If: BECAUSE I'M GOING TO SAY PLEASE
EndIf: YOU HAVE NO RESPECT FOR LOGIC
While: STICK AROUND
PlusOperator: GET UP
MinusOperator: GET DOWN
MultiplicationOperator: YOU'RE FIRED
EqualTo: YOU ARE NOT YOU YOU ARE ME
Or: CONSIDER THAT A DIVORCE
DeclareMethod: LISTEN TO ME VERY CAREFULLY
NonVoidMethod: GIVE THESE PEOPLE AIR
MethodArguments: I NEED YOUR CLOTHES YOUR BOOTS AND YOUR MOTORCYCLE
Return: I'LL BE BACK
CallMethod: DO IT NOW
AssignVariableFromMethodCall: GET YOUR ASS TO MARS
BeginMain: IT'S SHOWTIME
EndMain: YOU HAVE BEEN TERMINATED
Print: TALK TO THE HAND
AssignVariable: GET TO THE CHOPPER

Comments