A linguistic application of the basic principles of fact, rules and queries in Prolog is applied in this section to grammar writing. This is the first of three different kinds of grammar writing in Prolog:
The kind of grammar introduced in this section will be referred to as the `append-rule' type. The other types will be introduced, and explained further, at the appropriate places.