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