diff --git a/doc/expect.doc b/doc/expect.doc index 5a9bf5e..08f084d 100644 --- a/doc/expect.doc +++ b/doc/expect.doc @@ -1,5 +1,5 @@ The Scheme Underground Expect package -Designed and implemented by David Fisher and Olin Shivers +Designed and implemented by David Fisher, Olin Shivers and David Frese (spawn* THUNK) -> task procedure @@ -42,12 +42,13 @@ in the task:buf field. ::= ( ...) [Task clause.] | - | (ON-TIMEOUT ...) [Do on timeout.] Action clauses: ::= (ON-EOF ...) [Do on EOF.] | ( ...) [Do if pattern matches.] - | (TEST . ) + | (TEST ...) + | (TEST => ) + | (ELSE ...) ::= () [No match info] | () [Match struct only] @@ -58,6 +59,7 @@ Action clauses: | (ECHO ) ; Not supported | (MAX-SIZE ) ; Not supported | (MONITOR ) + | (ON-TIMEOUT ...) [Do on timeout.] Expect takes a number of tasks, and waits for a number of patterns to be output by these tasks. When expect sees a pattern for which it has been @@ -70,12 +72,15 @@ where an