Next: , Previous: , Up: Reference manual   [Contents][Index]


7.4 Package FL.DEMO

This package provides routines for building a demo suite. Wherever something interesting can be demonstrated, a small demo node should be generated with the make-demo and added to the tree of all demos with adjoin-demo. After loading FEMLISP, the whole demo suite is available and can be run with the command femlisp-demo.

Variable: *DEMO-TIME*

Suggested time for a demo which should be used as a termination criterion in demo iterations.

Function: ADJOIN-DEMO DEMO PARENT

Adjoins the demo demo to parent.

Function: EXTRACT-DEMO-STRINGS STRING &OPTIONAL TRANSLATIONS

Extract demo information from the documentation string of the generating function.

Function: FEMLISP-DEMO &OPTIONAL (DEMO *DEMO-ROOT*)

Shows all demos below the given demo root.

Function: REMOVE-DEMO DEMO PARENT

Remove demo from parent.

Function: TEST-ALL-DEMOS &OPTIONAL (DEMO *DEMO-ROOT*)

Performs all demos reachable from demo.

Function: USER-INPUT PROMPT &OPTIONAL (CONVERTER (FUNCTION IDENTITY)) (TEST-P (CONSTANTLY T))

User input for demo functions. Reads lines until test-p returns t on the item read.

Function: USER-INPUT-TEXTFIELD &OPTIONAL (TEST-P (CONSTANTLY T))

User textfield input for demo functions. Reads and concatenates lines until an empty line is read.