Next / Previous / Contents / Shipman's homepage

5. Code prologue

The balance of this document is the actual code for kkck, in lightweight literate programming form. The code is also an example of the author's style of Cleanroom software development. In particular, the comments in [ square brackets ] are Cleanroom intended functions that describe the semantics of the code in a semi-algebraic notation.

The code starts with a line to make it self-executing on Unix systems, followed by a pointer back to this documentation.

#!/usr/bin/env python
# kkck: A solver for Kriss Kross puzzles.  For documentation, see
VERBOSE = False        # For logorrheic output