In this report we demonstrate the relational programming language RPL by using it to develop four programs. These programs are: (1) computing a table of word frequencies from a text; (2) a simple data processing example involving updating an employee file; (3) Gaussian elimination; and (4) minimizing deterministic finite state automata. We do not present the RPL language systematically; rather it is described incrementally through the examples.
['B. J. MacLenna']
Four relational programs