ArnoldC, an Arnold Schwarzenegger-based programming language


ArnoldC is 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
MinusOperatorL: 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

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s