Scheme Scripting Cookbook:
Jon Fernquest's Open Programming Directory

Goals:

  1. Use higher order functions and functional style programming as tools for creating compact, simple, readable, provable, and reusable scripts.
  2. Quick partial parsing and extraction of information using parsing combinators (sort of like regular expressions for non-regular languages)
  3. Fold functions with state for tree recursion applied to directory trees and reporting on tree-like databases.
  4. Immitate functional style declarative GUI programming.
  5. Parsing and locating noun phrases relevant for a search engine query using functional style Categorial Grammars.
  6. Combine the power of functional and object oriented programming with Scheme's Tiny CLOS.
  7. Include introductory snippets for language teachers who want ot use Scheme as a scripting language to find words and grammar examples in texts, i.e. Corpus Linguistics.

(These programs all run under PLT Scheme (aka Dr Scheme, MzScheme). Ultimately, I want to get them to run under Guile and Chicken with a small footprint.

Directory Tree Cumulative Disk Usage

Higher-Order Functions

Regular Expressions (using Sitaram's pregexp):

Text Processing:

Awk Examples:

Timing a Program:

Objects and Records

MORE TO COME