I've recently been learning Lua, which is a rather neat little programming language. One of the nice things about it is the ability to override methods on its only data structure, tables. So, a natural first program might be creating an "infinite" table of primes:
(
Code )