Category:ArnoldC

From Rosetta Code
Language
ArnoldC
This programming language may be used to instruct a computer to perform a task.
Official website
Execution method: Interpreted
See Also:


Listed below are all of the tasks on Rosetta Code which have been solved using ArnoldC.
Your Help Needed
If you know ArnoldC, please write code for some of the tasks not implemented in ArnoldC.

ArnoldC is an esoteric programming language created with Scala by Lauri Hartikka. The source is available here, along with tutorials and example programs.

This articles is being improved. Help us out by adding more information.


Language overview[edit]

ArnoldC runs on famous quotations by Arnold Schwarzenegger. Most of the quotes can be found in this video. The commands are:

Command Description
@I LIED False
@NO PROBLEMO True
BECAUSE I'M GOING TO SAY PLEASE If
BULLSHIT Else
YOU HAVE NO RESPECT FOR LOGIC EndIf
STICK AROUND While
CHILL EndWhile
GET UP +
GET DOWN -
YOU'RE FIRED *
HE HAD TO SPLIT /
I LET HIM GO %
YOU ARE NOT YOU YOU ARE ME ==
LET OFF SOME STEAM BENNET >
CONSIDER THAT A DIVORCE Or
KNOCK KNOCK And
LISTEN TO ME VERY CAREFULLY DeclareMethod
GIVE THESE PEOPLE AIR NonVoidMethod
I NEED YOUR CLOTHES YOUR BOOTS AND YOUR MOTORCYCLE MethodArguments
I'LL BE BACK Return
HASTA LA VISTA, BABY EndMethodDeclaration
DO IT NOW CallMethod
GET YOUR ASS TO MARS AssignVariableFromMethodCall
HEY CHRISTMAS TREE DeclareInt
YOU SET US UP SetInitialValue
IT'S SHOWTIME BeginMain
YOU HAVE BEEN TERMINATED EndMain
TALK TO THE HAND Print
I WANT TO ASK YOU A BUNCH OF QUESTIONS AND I WANT TO HAVE THEM ANSWERED IMMEDIATELY ReadInteger
GET TO THE CHOPPER AssignVariable
HERE IS MY INVITATION SetValue
ENOUGH TALK EndAssignVariable
WHAT THE FUCK DID I DO WRONG ParseError

Online interpreters[edit]

The few online interpreters available for ArnoldC include:

Conventions[edit]

The following summarises the conventions for coding in ArnoldC.

Variables and Keywords[edit]

Variables and keywords are differentiated by capitalisation. Variables should aways be lowercase, whereas keywords are always UPPERCASE.

New Lines[edit]

Generally, each new keyword command in ArnoldC should be written on a new line. Code written like this will not work:

GET TO THE CHOPPER x HERE IS MY INVITATION y KNOCK KNOCK z ENOUGH TALK


External resources[edit]

Pages in category "ArnoldC"

The following 2 pages are in this category, out of 2 total.