ArnoldC

{{language |name=ArnoldC |exec=interpreted |site=http://lhartikk.github.io/ArnoldC/ }}

ArnoldC is an [[esoteric programming language]] created with Scala by Lauri Hartikka. The source is available [https://github.com/lhartikk/ArnoldC 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 [https://www.youtube.com/watch?v=ybJWKZB0Erk&feature=youtu.be&t=6m59s this video]. The commands are:

{| class="wikitable" !Command !Description |- | style="text-align:center"| @I LIED

False
style="text-align:center"
True
-
style="text-align:center"
If
-
style="text-align:center"
Else
-
style="text-align:center"
EndIf
-
style="text-align:center"
While
-
style="text-align:center"
EndWhile
-
style="text-align:center"
+
-
style="text-align:center"
-
-
style="text-align:center"
*
-
style="text-align:center"
/
-
style="text-align:center"
%
-
style="text-align:center"
==
-
style="text-align:center"
>
-
style="text-align:center"
Or
-
style="text-align:center"
And
-
style="text-align:center"
DeclareMethod
-
style="text-align:center"
NonVoidMethod
-
style="text-align:center"
MethodArguments
-
style="text-align:center"
Return
-
style="text-align:center"
EndMethodDeclaration
-
style="text-align:center"
CallMethod
-
style="text-align:center"
AssignVariableFromMethodCall
-
style="text-align:center"
DeclareInt
-
style="text-align:center"
SetInitialValue
-
style="text-align:center"
BeginMain
-
style="text-align:center"
EndMain
-
style="text-align:center"
Print
-
style="text-align:center"
ReadInteger
-
style="text-align:center"
AssignVariable
-
style="text-align:center"
SetValue
-
style="text-align:center"
EndAssignVariable
-
style="text-align:center"
ParseError
}

==Online interpreters==

The few online interpreters available for ArnoldC include:

  • [http://mapmeld.com/ArnoldC/ ArnoldC cyber simulator], a simple online compiler.
  • [http://mapmeld.com/ArnoldC/?v=2 ArnoldC cyber simulator v2], the less buggy version of ArnoldC cyber simulator.
  • [https://tio.run/#arnoldc 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

==External resources==

  • [https://github.com/lhartikk/ArnoldC Lauri Hartikka's GitHub source] contains instructions and files needed in order to use ArnoldC.
  • [https://github.com/lhartikk/ArnoldC/wiki/ArnoldC ArnoldC wiki] includes the complete set of instructions for coding in ArnoldC.

Tasks