The programs are grouped by chapter and are explained in detail in Lewandowsky, S., & Farrell, S. (in press). Computational Modeling in Cognition: Principles and Practice. Thousand Oaks, CA: Sage.
The book is scheduled for release in December 2010 (http://www.amazon.com/Computational-Modeling-Cognition-Principles-Practice/dp/1412970768).
The commenting in the programs is very sparse because the listings are explained in the book.
Create scripts with code, output, and formatted text in a single executable document.