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

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"
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:

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

Tasks