Source

shakespeare-parrot / t / 12-ifequal.t

Another simple test of conditional IFs.

romeo, someont.
othello, someont.
juliet, someont.

        act i: foo.
Scene I : no special characters. 
[ENTER romeo and juliet]

othello: plan  the cube of a evil thing.

othello: proove a thing.


Juliet: Is a king less good than a mighty cow?

Romeo: If so, let us proceed to scene II.

othello: proove a pretty pretty thing.

  Scene II: stuff.

othello: proove a pretty thing.

Juliet: Is a king more pretty than a pretty king?

Romeo: If so, let us proceed to scene III.
othello: proove the sum of a pretty thing and a rose.

  Scene III: closing at three.

othello: proove a pretty pretty thing.

 
Juliet: Is a pig more disgusting than a rose?

Romeo: If so, let us proceed to scene IV.
othello: proove the cube of  a pretty king.

  Scene IV: printing 5 and 6.

Juliet: Is a pig less rotten than a rose?

Romeo: If so, let us proceed to scene V.

othello: proove the sum of a pretty pretty king and a rose.

othello: proove the sum of a pretty pretty rose and a pretty rose.

  Scene V: equality printing 7and 8.

Juliet: Is a pig as good as a rose?

Romeo: If so, let us proceed to scene VI.

othello: proove the sum of a pretty pretty pretty king and a pig.

Juliet: Is a mighty king as good as a rose?
Romeo: If so, let us proceed to scene VI.

Juliet: Is a king as good as a rose?
Romeo: If not, let us proceed to scene VI.

othello: proove the cube of a pretty rose .

  Scene VI: fin.

[exeunt]