Wednesday, March 01, 2006

Cow and Whitespace

Here are some funny and interesting programming languages to explore:

COW
"Given that cows have somewhat limited vocabulary skills, it seemed natural to incorporate only the words they know into the language. As a result, all instructions are some variation on "moo" which just so happens to be the only word they really understand."

Sample COW program:
OOO
MOo
mOO
Whitespace
" Most modern programming languages do not consider white space characters (spaces, tabs and newlines) syntax, ignoring them, as if they weren't there. We consider this to be a gross injustice to these perfectly friendly members of the character set. Should they be ignored, just because they are invisible? Whitespace is a language that seeks to redress the balance. Any non whitespace characters are ignored; only spaces, tabs and newlines are considered syntax."

Sample Whitespace program:

      



No comments: