Syntax-Directed Documentation For PL 360 The language PL 360, together with its phrase structure grammar, is used as a concrete basis for illustrating an idea called syntax-directed documentation. This idea is (1) to use the phrase structure of a program to define the structure of a formal documentation for that program; (2) to use the syntactic types and identifiers in the resulting structure to trigger the automatic formation of questions to the programmer, whose answers will become part of that documentation; and (3) to provide automatic storage and retrieval facilities so that other programmers who want to understand or modify the program can access the resulting documentation, which is cross-indexed in various ways by syntactic types and objects. A small PL 360 program, already found in the literature, is worked out as an example. CACM April, 1970 Mills, H. D. documentation, syntax analysis, PL 360, enforced documentation, indexed documentation, automatic interrogation, phase structured grammar, syntax-directed documentation, syntax processing 3.59 3.79 4.19 4.43 CA700402 JB February 13, 1978 3:28 PM 1542 4 2082 1683 4 2082 1693 4 2082 1781 4 2082 1787 4 2082 1836 4 2082 1945 4 2082 2060 4 2082 2061 4 2082 2082 4 2082 2082 4 2082 2091 4 2082 2152 4 2082 2179 4 2082 2340 4 2082 2356 4 2082 2546 4 2082 2603 4 2082 2698 4 2082 2708 4 2082 2824 4 2082 2982 4 2082 2986 4 2082 3045 4 2082 3093 4 2082 1491 5 2082 2082 5 2082 2082 5 2082 2082 5 2082 2314 5 2082 518 5 2082 1098 6 2082 1626 6 2082 2082 6 2082 2148 6 2082