> 
> You might want to read chapter 6 of The AWK Programming 
> Language (Aho, Kernighan, Weinberger).  The title of that 
> chapter is 'little  
> languages'.
> The chapter includes the following examples (in AWK of course):
> 
> 	assembler and interpreter
> 	drawing graphs
> 	a sort generator
> 	a reverse-polish calculator
> 	an infix calculator
> 	recursive-descent parsing

Along the same lines, the O'Reilly Lex and Yacc book (by John Levine and
several others) has some little DSL examples - a menu generation system
and whatnot.

Yours,

Tom