annotate example/exampleSession.txt @ 172:c01f8e612a0a

\n\n finally works
author catherine@dellzilla
date Fri, 12 Dec 2008 10:14:01 -0500
parents 429c8e984df4
children 471318e59e51
rev   line source
118
db366853074c test transcript won't tolerate final prompt
catherine@dellzilla
parents: 117
diff changeset
1 This is cut-and-pasted from an interactive example.py session.
db366853074c test transcript won't tolerate final prompt
catherine@dellzilla
parents: 117
diff changeset
2 Calling `example.py -t` runs it as a series of unit tests,
db366853074c test transcript won't tolerate final prompt
catherine@dellzilla
parents: 117
diff changeset
3 verifying that the same output is still returned.
db366853074c test transcript won't tolerate final prompt
catherine@dellzilla
parents: 117
diff changeset
4
156
7e5a57df88aa kinks in assumeComplete
catherine@dellzilla
parents: 139
diff changeset
5 (Cmd) orate four score and
117
33cd0e1bebb8 stripping continuation prompts during testing
catherine@dellzilla
parents: 115
diff changeset
6 > seven releases ago
33cd0e1bebb8 stripping continuation prompts during testing
catherine@dellzilla
parents: 115
diff changeset
7 > our BDFL
33cd0e1bebb8 stripping continuation prompts during testing
catherine@dellzilla
parents: 115
diff changeset
8 >
33cd0e1bebb8 stripping continuation prompts during testing
catherine@dellzilla
parents: 115
diff changeset
9 >
166
a3414ac38677 so close - now problem with terminator in string
catherine@dellzilla
parents: 156
diff changeset
10 four score and
a3414ac38677 so close - now problem with terminator in string
catherine@dellzilla
parents: 156
diff changeset
11 seven releases ago
a3414ac38677 so close - now problem with terminator in string
catherine@dellzilla
parents: 156
diff changeset
12 our BDFL
118
db366853074c test transcript won't tolerate final prompt
catherine@dellzilla
parents: 117
diff changeset
13 (Cmd) & look, a shortcut!
db366853074c test transcript won't tolerate final prompt
catherine@dellzilla
parents: 117
diff changeset
14 look, a shortcut!
db366853074c test transcript won't tolerate final prompt
catherine@dellzilla
parents: 117
diff changeset
15 (Cmd) say put this in a file > myfile.txt
db366853074c test transcript won't tolerate final prompt
catherine@dellzilla
parents: 117
diff changeset
16 (Cmd) say < myfile.txt
db366853074c test transcript won't tolerate final prompt
catherine@dellzilla
parents: 117
diff changeset
17 put this in a file
139
e2d06e53d09c adding test for comments
catherine@Elli.myhome.westell.com
parents: 133
diff changeset
18 (Cmd) # comments do nothing
e2d06e53d09c adding test for comments
catherine@Elli.myhome.westell.com
parents: 133
diff changeset
19 (Cmd) /* C-style comments */ say are invisible
e2d06e53d09c adding test for comments
catherine@Elli.myhome.westell.com
parents: 133
diff changeset
20 are invisible
169
429c8e984df4 all working, except \n\n terminators
catherine@dellzilla
parents: 168
diff changeset
21 (Cmd) orate and they do not /* interfere;
139
e2d06e53d09c adding test for comments
catherine@Elli.myhome.westell.com
parents: 133
diff changeset
22 > with multiline */ commands;
169
429c8e984df4 all working, except \n\n terminators
catherine@dellzilla
parents: 168
diff changeset
23 and they do not commands
429c8e984df4 all working, except \n\n terminators
catherine@dellzilla
parents: 168
diff changeset
24 (Cmd) speak the /* hidden comment */ text
429c8e984df4 all working, except \n\n terminators
catherine@dellzilla
parents: 168
diff changeset
25 the text
429c8e984df4 all working, except \n\n terminators
catherine@dellzilla
parents: 168
diff changeset
26 (Cmd) speak the "unhidden quote" text
429c8e984df4 all working, except \n\n terminators
catherine@dellzilla
parents: 168
diff changeset
27 the "unhidden quote" text
429c8e984df4 all working, except \n\n terminators
catherine@dellzilla
parents: 168
diff changeset
28 (Cmd) # Quoted strings immediately following the command are NOT included in the arguments -
429c8e984df4 all working, except \n\n terminators
catherine@dellzilla
parents: 168
diff changeset
29 (Cmd) # this is due to a bug in pyparsing. See:
429c8e984df4 all working, except \n\n terminators
catherine@dellzilla
parents: 168
diff changeset
30 (Cmd) # https://sourceforge.net/tracker/index.php?func=detail&aid=2412233&group_id=97203&atid=617311
118
db366853074c test transcript won't tolerate final prompt
catherine@dellzilla
parents: 117
diff changeset
31 (Cmd) set prompt "---> "
db366853074c test transcript won't tolerate final prompt
catherine@dellzilla
parents: 117
diff changeset
32 prompt - was: (Cmd)
db366853074c test transcript won't tolerate final prompt
catherine@dellzilla
parents: 117
diff changeset
33 now: --->
db366853074c test transcript won't tolerate final prompt
catherine@dellzilla
parents: 117
diff changeset
34 ---> say goodbye
db366853074c test transcript won't tolerate final prompt
catherine@dellzilla
parents: 117
diff changeset
35 goodbye