Rosetta Code Man Or Boy Test
The Man or Boy Test was proposed by Donald Knuth to evaluate ALGOL 60 implementations. For a description, see Man or boy at rosettacode.org:
This code is based on the Lua example taken from rosettacode.org.
With additional syntactic sugar, the example could look like this: