| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
#!/usr/bin/env perl |
|
2
|
1
|
|
|
1
|
|
2193
|
use Lingua::Shakespeare; |
|
|
1
|
|
|
|
|
3
|
|
|
|
1
|
|
|
|
|
9
|
|
|
3
|
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
The guessing game, by Jonas Sjöbergh, jsh@nadakthse, |
|
5
|
|
|
|
|
|
|
think of a number between 1 and 1000, if the program's guess is |
|
6
|
|
|
|
|
|
|
too high input "<", if it is too low input ">" and if it is correct |
|
7
|
|
|
|
|
|
|
input "=". |
|
8
|
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
Romeo, with an open mind. |
|
10
|
|
|
|
|
|
|
Juliet, the guess(t). |
|
11
|
|
|
|
|
|
|
Emilia, up and about. |
|
12
|
|
|
|
|
|
|
Bianca, feeling low. |
|
13
|
|
|
|
|
|
|
Oberon, everyones equal. |
|
14
|
|
|
|
|
|
|
Desdemona, feeds lines to others. |
|
15
|
|
|
|
|
|
|
Helen, returns with a carriage. |
|
16
|
|
|
|
|
|
|
Hamlet, marks a question. |
|
17
|
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
Act I: A guess comes to dinner. |
|
19
|
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
Scene I: The introductions. |
|
21
|
|
|
|
|
|
|
[Enter Romeo and Desdemona] |
|
22
|
|
|
|
|
|
|
Romeo: |
|
23
|
|
|
|
|
|
|
Thou art as fine as the sum of a pretty flower and a |
|
24
|
|
|
|
|
|
|
lovely smooth rich plum. |
|
25
|
|
|
|
|
|
|
[Exit Desdemona] |
|
26
|
|
|
|
|
|
|
[Enter Emilia] |
|
27
|
|
|
|
|
|
|
Romeo: |
|
28
|
|
|
|
|
|
|
Thou art as charming as the cube of Desdemona. |
|
29
|
|
|
|
|
|
|
[Exit Emilia] |
|
30
|
|
|
|
|
|
|
[Enter Helen] |
|
31
|
|
|
|
|
|
|
Romeo: |
|
32
|
|
|
|
|
|
|
Thou art as fine as the sum of Desdemona and the sum of a red |
|
33
|
|
|
|
|
|
|
rose and a flower. |
|
34
|
|
|
|
|
|
|
[Exit Helen] |
|
35
|
|
|
|
|
|
|
[Enter Bianca] |
|
36
|
|
|
|
|
|
|
Romeo: |
|
37
|
|
|
|
|
|
|
Thou art as warm as a summer's day. |
|
38
|
|
|
|
|
|
|
[Exit Bianca] |
|
39
|
|
|
|
|
|
|
[Enter Oberon] |
|
40
|
|
|
|
|
|
|
Romeo: |
|
41
|
|
|
|
|
|
|
Thou art as foul as the sum of a little tiny furry white old |
|
42
|
|
|
|
|
|
|
animal and a smelly toad. Thou art as disgusting as the product of thyself and |
|
43
|
|
|
|
|
|
|
a horrible hog. Thou art as evil as the difference between a |
|
44
|
|
|
|
|
|
|
cow and thyself. |
|
45
|
|
|
|
|
|
|
[Exit Oberon] |
|
46
|
|
|
|
|
|
|
[Enter Hamlet] |
|
47
|
|
|
|
|
|
|
Romeo: |
|
48
|
|
|
|
|
|
|
Thou art as disgusting as the sum of Oberon and a big cow. |
|
49
|
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
Scene II: The repetitions. |
|
51
|
|
|
|
|
|
|
[Exeunt] |
|
52
|
|
|
|
|
|
|
[Enter Romeo and Juliet] |
|
53
|
|
|
|
|
|
|
Romeo: |
|
54
|
|
|
|
|
|
|
Thou art as lovely as the sum of Emilia and Bianca. Thou art |
|
55
|
|
|
|
|
|
|
as sweet as the quotient between thyself and a little flower. |
|
56
|
|
|
|
|
|
|
Open your heart. |
|
57
|
|
|
|
|
|
|
[Exit Juliet] |
|
58
|
|
|
|
|
|
|
[Enter Hamlet] |
|
59
|
|
|
|
|
|
|
Romeo: |
|
60
|
|
|
|
|
|
|
Speak your mind. |
|
61
|
|
|
|
|
|
|
Scene III: In case of foul play. |
|
62
|
|
|
|
|
|
|
[Exeunt] |
|
63
|
|
|
|
|
|
|
[Enter Romeo and Juliet] |
|
64
|
|
|
|
|
|
|
Juliet: |
|
65
|
|
|
|
|
|
|
Open your mind. |
|
66
|
|
|
|
|
|
|
[Exit Juliet] |
|
67
|
|
|
|
|
|
|
[Enter Helen] |
|
68
|
|
|
|
|
|
|
Romeo: |
|
69
|
|
|
|
|
|
|
Speak your mind. |
|
70
|
|
|
|
|
|
|
[Exit Helen] |
|
71
|
|
|
|
|
|
|
[Enter Desdemona] |
|
72
|
|
|
|
|
|
|
Romeo: |
|
73
|
|
|
|
|
|
|
Speak your mind. |
|
74
|
|
|
|
|
|
|
Romeo: |
|
75
|
|
|
|
|
|
|
Am I as brave as Oberon? If so, let us proceed to Scene VI. |
|
76
|
|
|
|
|
|
|
Am I as bold as the sum of Oberon and a pig? If so, let us proceed to Scene IV. |
|
77
|
|
|
|
|
|
|
Am I as cunning as the sum of Oberon and a cow? If so, let us proceed to Scene V. |
|
78
|
|
|
|
|
|
|
Let us proceed to Scene III. |
|
79
|
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
Scene IV: Where less is more. |
|
81
|
|
|
|
|
|
|
[Exeunt] |
|
82
|
|
|
|
|
|
|
[Enter Emilia and Juliet] |
|
83
|
|
|
|
|
|
|
Emilia: |
|
84
|
|
|
|
|
|
|
Am I as good as the sum of Bianca and a flower? If so, thou |
|
85
|
|
|
|
|
|
|
art as fine as Bianca. |
|
86
|
|
|
|
|
|
|
Juliet: |
|
87
|
|
|
|
|
|
|
Remember me. Recall that I am your friend. Let us return to Scene II. |
|
88
|
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
Scene V: Where more is needed. |
|
90
|
|
|
|
|
|
|
[Exeunt] |
|
91
|
|
|
|
|
|
|
[Enter Bianca and Juliet] |
|
92
|
|
|
|
|
|
|
Bianca: |
|
93
|
|
|
|
|
|
|
Am I as good as the difference between Emilia and a flower? If so, thou |
|
94
|
|
|
|
|
|
|
art as fine as Emilia. |
|
95
|
|
|
|
|
|
|
Am I as good as the difference between Emilia and a red rose? If so, thou |
|
96
|
|
|
|
|
|
|
art as fine as Emilia. |
|
97
|
|
|
|
|
|
|
Juliet: |
|
98
|
|
|
|
|
|
|
Remember me. Recall that I am your friend. Let us return to Scene II. |
|
99
|
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
Scene VI: The End. |
|
101
|
|
|
|
|
|
|
[Exeunt] |
|
102
|
|
|
|
|
|
|
[Enter Romeo and Juliet] |
|
103
|
|
|
|
|
|
|
Romeo: |
|
104
|
|
|
|
|
|
|
Open your heart. |
|
105
|
|
|
|
|
|
|
[Exeunt] |
|
106
|
|
|
|
|
|
|
[Enter Helen and Desdemona] |
|
107
|
|
|
|
|
|
|
Desdemona: |
|
108
|
|
|
|
|
|
|
Speak your mind. |
|
109
|
|
|
|
|
|
|
Helen: |
|
110
|
|
|
|
|
|
|
Speak your mind. |