"Scripted documents" is a phrase I coined to describe a file which contains both scripts and data, and which is executable. It's almost like an application with an embedded database. WiKit is built as scripted document. For more details, see the corresponding page on my personal wiki (yah, well, wiki's tend to multiply like rabbits where I live):
http://www.equi4.com/jcw/wiki.cgi/ScriptedDocument
November 2000 - The new place to look for details and info about scripted documents is:
http://www.equi4.com/scripdoc/
-- JCW
Some examples of scripted documents can be found at http://www.equi4.com/pub/dok/ and http://www.equi4.com/pub/tk/examples/ .