Generate prime numbers below some limit. This snippet incorporates some DSL like keywords to describe the prime algorithm.
Generate prime numbers below some limit. This snippet uses groovy categories to locate the appropriate methods in common classes.
Generate prime numbers blow some limit using the Sieve of Eratosthenes algorithm. This snippet uses some object abstractions to simplify the algorithm.
A possible implementation of the Sieve of Eratosthenes for generating prime numbers below some limit.