It is possible for Vispatch programs to be visually simple and sparse,
even though the entire program is completely visible. Vispatch's
simplicity comes partly from the use of rewriting rules. Its
graphical appearance is also simplified by using containment to show
the relationships between many of the figures. For example, no extra
figure is necessary to connect a rule with its scope because the
relationship is defined by the containment of the rule by the scope.
Yet at the same time, Vispatch programs can demonstrate powerful
programming constructs. For example, like many of the previous
programs, the program below demonstrates conditionals and recursion.
|