A linguist such as yourself who is developing a grammar and a lexicon performs the following tasks, shown in the Figure (1).
and repeats these steps for as many cycles as necessary.
Figure 1: Interactive architecture for developing Prolog programmes.