PrimitiveSpeak is an esoteric language designed to mimic the dialect of caveman.
Hello world program
me say "Hello World!".
Lines end with a period, because.
num is int.
text is String.
count is int with value of 9.
me say "Hello".
me say fast "This will be".
me say fast "on one line.".
The concept of "false" is kind of hard to understand for caveman, so we'll just use "not true"
good
>> true
no good
>> false
123
"Hello"
{1, 2, 3}
arr is {1, 2, 3}.
me say arr at 1.
>> 2
name is value.
a is b
a greater than b
a less than b
a and b
a or b
a plus b
a take away b
a times b
a split by b
me check if <boolean expression> then:
me say "found it!".
me stop checking.
me repeat duck in ducks:
me say duck.
me stop repeating.