When you get a word wrong
Common (CL) has a fixed dictionary and does not guess. Every mistake below is real and runs on this page. Each error says what went wrong and which word to use instead.
A word from another language
print "Hello"
Forgot the quotes
show Hello, world!
A typo
sey "Hello"
A capital letter
Show "Hello"
An equals sign
total = 5
A symbol instead of words
set age to 20
if age > 18
show "Adult"
end
A phrase that is almost right
set age to 20
if age is bigger than 18
show "Adult"
end
else instead of otherwise
if yes
show "Yes"
else
show "No"
end
A forgotten end
if yes
show "This block never closes"
A command used as a name
set show to 3
A misspelled variable
set greeting to "Hi"
show greting
Math on text
show "ten" * 2
An item that is not there
set pets to "cat", "dog"
show item 3 of pets
Single quotes
show 'Hello'
Output before the mistake is kept
show "This line works."
show "So does this one."
show nonsense
Line numbers point at the line in this HTML file, so you can jump straight to the mistake in your editor.
The full word list is in docs/dictionary.md, or run cl words.