ArnoldC
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.
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
|
|
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:
- ArnoldC cyber simulator, a simple online compiler.
- ArnoldC cyber simulator v2, the less buggy version of ArnoldC cyber simulator.
- Try It Online's ArnoldC compiler, which is by far the most functional.
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
Examples
Hello, world!
IT'S SHOWTIME TALK TO THE HAND "Hello, world!" YOU HAVE BEEN TERMINATED
External resources
- Lauri Hartikka's GitHub source contains instructions and files needed in order to use ArnoldC.
- ArnoldC wiki includes the complete set of instructions for coding in ArnoldC.