ArnoldC

From Esolang
Jump to navigation Jump to search

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

ArnoldC
Designed by Lauri Hartikka
Appeared in 2013
Computational class Unknown
Reference implementation Multiple
Influenced Connery
File extension(s) .arnoldc
This articles is being improved. Help us out by adding more information.


Language overview

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

The few online interpreters available for ArnoldC include:

Conventions

The following summarises the conventions for coding in ArnoldC.

Variables and Keywords

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

New Lines

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