{{language |name=ArnoldC |exec=interpreted |site= }}

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== ArnoldC runs on famous quotations by Arnold Schwarzenegger. Most of the quotes can be found in [ this video]. The commands are:

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


==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.