Programming language based on the one-liners of Arnold Schwarzenegger.
Although the one-liners of Arnold Schwarzenegger are fairly well known the true semantics of the uttering is yet to be understood. This project tries to discover new meanings from the Arnold movies with the means of computer science.
IT'S SHOWTIME
TALK TO THE HAND "hello world"
YOU HAVE BEEN TERMINATED
wget http://lhartikk.github.io/ArnoldC.jar
echo -e "IT'S SHOWTIME\nTALK TO THE HAND \"hello world\"\nYOU HAVE BEEN TERMINATED" > hello.arnoldc
java -jar ArnoldC.jar hello.arnoldc
java hello
To create some "audible" output you can try the -declaim option:
java -jar ArnoldC.jar -declaim hello.arnoldc
Check the wiki for more details
False I LIED
True NO PROBLEMO
If BECAUSE I'M GOING TO SAY PLEASE
Else BULLSHIT
EndIf YOU HAVE NO RESPECT FOR LOGIC
While STICK AROUND
EndWhile CHILL
PlusOperator GET UP
MinusOperator GET DOWN
MultiplicationOperator YOU'RE FIRED
DivisionOperator HE HAD TO SPLIT
ModuloOperator I LET HIM GO
EqualTo YOU ARE NOT YOU YOU ARE ME
GreaterThan LET OFF SOME STEAM BENNET
Or CONSIDER THAT A DIVORCE
And KNOCK KNOCK
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
EndMethodDeclaration HASTA LA VISTA, BABY
CallMethod DO IT NOW
AssignVariableFromMethodCall GET YOUR ASS TO MARS
DeclareInt HEY CHRISTMAS TREE
SetInitialValue YOU SET US UP
BeginMain IT'S SHOWTIME
EndMain YOU HAVE BEEN TERMINATED
Print TALK TO THE HAND
ReadInteger I WANT TO ASK YOU A BUNCH OF QUESTIONS AND I WANT TO HAVE THEM ANSWERED IMMEDIATELY
AssignVariable GET TO THE CHOPPER
SetValue HERE IS MY INVITATION
EndAssignVariable ENOUGH TALK
ParseError WHAT THE FUCK DID I DO WRONG