WO2001035213A1 - Procede et dispositif de reproduction de programme, et support de programme pour enregistrement de reproduction de programme - Google Patents

Procede et dispositif de reproduction de programme, et support de programme pour enregistrement de reproduction de programme Download PDF

Info

Publication number
WO2001035213A1
WO2001035213A1 PCT/JP2000/007916 JP0007916W WO0135213A1 WO 2001035213 A1 WO2001035213 A1 WO 2001035213A1 JP 0007916 W JP0007916 W JP 0007916W WO 0135213 A1 WO0135213 A1 WO 0135213A1
Authority
WO
WIPO (PCT)
Prior art keywords
program
word
instruction
processing
command
Prior art date
Application number
PCT/JP2000/007916
Other languages
English (en)
French (fr)
Inventor
Fumio Negoro
Original Assignee
Information System Development Institute
The Institute Of Computer Based Software Methodology And Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Information System Development Institute, The Institute Of Computer Based Software Methodology And Technology filed Critical Information System Development Institute
Priority to NZ512711A priority Critical patent/NZ512711A/xx
Priority to CA002359079A priority patent/CA2359079A1/en
Priority to AU13054/01A priority patent/AU760395B2/en
Priority to EP00974893A priority patent/EP1248189A4/en
Publication of WO2001035213A1 publication Critical patent/WO2001035213A1/ja

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management

Definitions

  • This invention relates to a method of reproducing a program and a medium in which an apparatus and a program for reproducing the program are recorded. More specifically, an existing program created by a method other than Lyee's development method is delivered by the existing program. How to maintain the functions to be built and how to rebuild the program with a structure that complies with Lyee's development method, and the equipment and its operation The present invention relates to a program recording medium that allows a computer to perform such processing. Background technology
  • Lyee (governmental methodologY for softwarE providencE) 's development method of the program is to enter the market as a transformation of the conventional software creation method. , The dramatic shortening of the development period, the drastic reduction in the number of development steps, the ease of maintenance, and the phenomena of the amount of documents. It has been noted.
  • This invention analyzes existing programs and, based on the results of the analysis, achieves a function equivalent to that of the existing programs. It provides a way for the program to be born and transformed. The replayed program follows Lyee's methodology, and this invention allows the rehabilitation process to be automated. It is.
  • the method according to the invention is based on the existing program created by a method other than Lyee's development method. ⁇ ? ) 3 ⁇ 4 ⁇ ⁇ ⁇ 09 '? ) i 1 C 5 ⁇ ⁇ 3 ⁇ 4 ⁇ ⁇ ⁇ ⁇ 3 ⁇ 4 09 ma ⁇ ⁇ ⁇ ) 3 ⁇ 4a 'tsu ° 3 ⁇ 4 ⁇ 9 fi violent :)
  • 3 ⁇ 4 3 ⁇ 4 a 3 ⁇ 4 3 ⁇ 4 4- 3 ⁇ 4 M:) Ma. ⁇ ⁇ 3 ⁇ 4 3 ⁇ 4 ⁇ ⁇ ⁇
  • Existing programs generally include a description of the defined fields (screens, files, etc.) that are controlled by the program. It is. From the description of the definition field, the definition field controlled by the existing program is identified, and the basics of the definition field are identified. A number of program components (templates) are provided to make the structure work.
  • the basic structure is a program structure that follows Lyee's methodology, and includes a W02-no-Slett (program) and a W04-nolet. (Program) and W03 note (program) included
  • ⁇ ⁇ ⁇ is co Tra z * 3 ⁇ 4 Q 3 ⁇ 4 ' ⁇ ⁇ 3 ⁇ 4: :: ⁇ ⁇ ⁇ ⁇ tsu ⁇ ⁇ Ma ⁇ ⁇ b ⁇
  • the existing program is derived from an existing program, depending on one basic structure or a combination of a plurality of basic structures.
  • the processing path diagram above shows a path that leads to two or more different basic structures or a path that leads to termination processing. If it is, a conditional instruction or a conditional instruction indicating the branching condition at the branching point of the route is written in the existing program. Extract from The extracted conditional instruction statement or conditional instruction is the program element of the pallet at the branch point of the branch point described above. This is converted into a form that follows the program configuration elements (path operation element programs) for path determination. One of the positions in the program that follows the Lyee development method of the conditional instruction or the conditional instruction is ascertained.
  • a conditional instruction or a conditional instruction used in an existing program includes a program that follows the Lyee methodology described above. In addition to those that are positioned as branch conditions for the route, the conditions when the data is output overnight to the display screen (output conditions) (Ma a ⁇ ⁇ 9 i) Ma ⁇ ⁇ b 3 ⁇ 4: 4 3 ⁇ 4 3 ⁇ 4 3 ⁇ 4 3 ⁇ 4 ⁇
  • 9T6.0 / 00df / X3d CTZSC / IO OAV Lamb recording media includes magnetic disks, optical disks, magneto-optical disks, magnetic tapes, semiconductor memory, and the like. Brief explanation of drawings
  • Figure 1 is a block diagram showing the general form of a software model that follows the Lyee methodology.
  • Fig. 2 shows an example of a processing path diagram for online processing.
  • Fig. 3 shows an example of a processing path diagram for notch processing.
  • Fig. 4 shows an example of the processing path diagram of K, together with the processing path diagram of the online processing T0.
  • Fig. 5 shows a part of the processing route diagram for a general software.
  • Fig. 6 is a conceptual diagram showing the handling of words (interaction of words) in Lye's methodology.
  • Fig. 7 shows the types of programs required for each basic structure and the positions of the programs.
  • FIG. 8 is a flowchart showing the flow of processing of the W04 palette function program.
  • Fig. 9 is a flow chart showing the flow of processing of the W02 knowledge function program.
  • FIG. 10 is a flow chart showing the flow of processing of the W03 knowledge function program.
  • Fig. 11 shows the phase element program (template). This is a flowchart showing the flow of processing.
  • Fig. 12 is a flow chart showing the flow of processing of the logic element program (W04) (template).
  • Fig. 13 is a flow chart showing the flow of processing of the output operation element program (template).
  • FIG. 14 is a flowchart showing the flow of processing of a path operation element program (a template).
  • Fig. 15 is a flowchart showing the flow of processing of the structural element program (template).
  • Fig. 16 is a flowchart showing the flow of processing of the logic element program (W02) (template).
  • Fig. 17 is a flow chart showing the flow of processing of the logic element program (W02G) (template). The figure shows a concrete example of the logic element program (W02).
  • FIG 19 shows the overall flow of the program regeneration process.
  • FIG. 20 is a block diagram showing the configuration of a program reproduction processing device.
  • Fig. 21 shows an example of a conventional program.
  • Fig. 22 shows an example of the product order screen.
  • Figure 23 shows an example of a product table.
  • Figure 24 shows the processing of the conventional program shown in Figure 21. It is a flow chart showing the flow.
  • FIG. 25 is a flow chart showing the flow of processing of the conventional program shown in FIG. 21.
  • Fig. 26 is a flowchart showing the detailed flow of the formalization process.
  • Figure 27 shows an example of the command table (whole).
  • Fig. 28 shows an example of the command table (for each program).
  • FIG. 29 shows a processing path diagram showing the processing of the conventional program shown in FIG. 21.
  • FIG. 30 shows an example of a processing route diagram information table.
  • Fig. 31 is a flowchart showing the detailed flow of the primary coordinate determination processing.
  • Fig. 32 shows an example of the reel belt after the primary coordinate determination processing.
  • Figure 33 is a flow chart showing the detailed flow of the standardization process.
  • Fig. 34 is a flowchart showing the detailed flow of the secondary coordinate determination processing.
  • Fig. 35 shows an example of the reel belt after the secondary coordinate determination processing.
  • Fig. 36 is a flow chart showing the detailed flow of the development process of the instruction statement.
  • Fig. 37 shows an example of the instruction sequence table.
  • Fig. 38 is a flow chart showing the detailed flow of the IF statement parsing process.
  • Fig. 39 is a flowchart showing the detailed flow of the IF statement parsing process.
  • Figure 40 is a flowchart showing the detailed flow of the IF statement parsing process.
  • FIG. 41 is a flowchart showing the details of the Lyee ALL process.
  • Fig. 42 shows an example of copy phrase expansion processing.
  • Fig. 43 shows another example of the copy phrase expansion processing.
  • FIG. 44 shows another example of the copy phrase expansion processing
  • FIG. 45 shows an example of the subroutine expansion processing
  • Fig. 46 shows an example of the cleaning process.
  • Figure 47 shows an example of the irregular correction process.
  • Figure 48 shows an example of the unification processing of instruction statements.
  • Fig. 49 shows another example of the unification processing of instruction statements.
  • Figure 50 shows an example of the single-layer stratification process. °
  • the WO3 knots are referred to as K—W04 knots, ⁇ —W02 knots, and K—W03 knots, respectively.
  • K—W04 knots ⁇ —W02 knots
  • K—W03 knots respectively.
  • ⁇ 1 W03 3 ⁇ Let includes K —W0 22G sub knoll and ⁇ -W04 ⁇ Sub ⁇ N ⁇ , ⁇ Let.
  • FIG. 2 shows an example of a processing path diagram including an online processing layer 0.
  • This processing path diagram is composed of T0W04knore11, T0W02knlet12 and T0W03knob'let13. It includes a basic structure (circular structure).
  • the input characters and numbers are T0W02. Handled by let 12.
  • T 0 W 0 2 The characters, numerals, etc., to be input to the note 12 are used, and the specified processing is performed at the note 0 13. . That is, T0W03.
  • T0W03. Let 13 TOW 0 2 G Sub-notes (phase element programs described later) use T 0 W 0 2 no, 'let's to represent data representing characters, numbers, etc. Received from G12.
  • the specified processing (the four arithmetic operations, etc.) is performed by using the data of the T 0 W 0 2 knot, etc. Is performed.
  • the data (result of processing) in which the predetermined processing has been performed is given to the T0W04 note 11.
  • the T0W04 note 11 receives the data (processing result) of the T0W04P sub-note and displays it on the display screen 14. .
  • the path extending from T 0 W 0 2 Knob 12 is divided into two. One is the path leading to T0W03, No. 13 and the other is the path leading to the termination process.
  • T0W03 a program that displays such a display screen.
  • T0W03 a processing route diagram is drawn.
  • T0W03. The route to Let 13 is selected.
  • the “End” button is pressed, the route to the end processing is selected.
  • Fig. 3 shows an example of a processing path diagram including the notch processing T1.
  • This processing path diagram is composed of T1W04 knowledge 21, T1W02 knowledge 22 and T1W03 knowledge 23. Includes basic structure (circular structure).
  • T 1 W 0 2 No. Rate 22 is stored in file B25 Read some data.
  • the read data is transferred to the T 1 W 0 3 pallet 23 (from T 1 W 0 2 knore 22 to the T 1 W 0 3 knowledge 23 T 1 W 0 2 G Sub-no, 'Data transfer to plate').
  • T 1 W 0 3 Predetermined processing is performed at the note 23 (T 1 W 0 2 G sub-note by the sub-note) Acquisition of the overnight note and T1W04P sub-no, 'specified processing in the let').
  • the T 1 W 0 4 note 21 obtains the processing result (from the T 1 W 0 4 P sub * note to the T 1 W 0 4 note 21). Data transfer).
  • the processing result is recorded in file A24 at T1W04 knowledge 21.
  • the route extending from the T 1 W 0 2 knowledge 22 is divided into two.
  • One is a path leading to T1W03 note 23, and the other is a path leading to termination processing.
  • the prescribed processing is performed in the sequential T1W03 note 23.
  • the route to the termination processing will be selected. In such a case, such a processing path diagram is drawn.
  • FIG. 4 shows an example of a processing route diagram including K.
  • the basic structure (circular structure) of K is based on the fact that the data output by the W04 knowledge will eventually be obtained. This is the basic structure in the case where the data is not the same.
  • the final output to be obtained (T 0 W 0 4 Nolet or T 1 W 0 4 It is necessary to connect to the output by processing with the knowledge of the knot, so it is always on in the processing route diagram including K.
  • At least one of the processing path diagrams of the line processing T0 or the processing path diagrams of the batch processing T1 is drawn.
  • the processing path diagram shown in Fig. 4 shows the processing path diagram of K (on-line processing TO) (same as Fig. 2) together with the processing path diagram of K. It has been done.
  • the part of the processing path diagram of K and the part of the processing path diagram of the on-line processing TO are shown enclosed by broken lines.
  • K-W04 The processing path diagram for K is K-W04.
  • K-W02. Includes a basic structure (circular structure) composed of let 32 and K-W03 note 33.
  • T 0 W 0 3 note 13 (T 0 W 0 4 P sub-note of T 0 W 0 3 note 13) extends to branch point A. At this point, the path branches back to the path returning to the T0W04 note 11 and the path leading to the K-1W04 note'let 31.
  • T 0 W 0 3 No according to the judgment (path judgment) in the T 0 W 0 4 P sub * note of let 13, T 0 W 0 4 P Should we go back to Lett 11, K-1 W04? It is decided whether to proceed to Let 31.
  • K-W03 K-W03, No. 33 K-W04P sub-note
  • T 0 W 0 3 the path returning to the first W04 knurl 31, and the T0W04P sub,.
  • K-W04 No. 33 K-W04P Sub-no according to the decision on the let, K-W04 No, heading to let 31 It is decided whether to proceed to the T0W04P sub-knowledge.
  • the connection of the basic structures of different types, such as between TO and K, between the TO and K, is particularly described in Lyee's methodology, especially in relational theory. Call it.
  • FIG. 4 shows the connection (linkage) between the basic structure of the online processing T0 and the basic structure of K, but the batch processing T1 is not shown.
  • the connection between the basic structure and the basic structure of K can be made in the same way, and a processing route diagram can be drawn.
  • Figure 5 shows a part of a general processing path diagram for the software that performs the prescribed processing.
  • Computing the processing route diagram for the software that performs the prescribed processing in the evening generally shown in Figure 5
  • processing including a large number of basic structures (the basic structure of the online processing TO, the basic structure of the batch processing T1, and the basic structure of K).
  • a route map is drawn.
  • the unit of the report is the items displayed on the screen or the data items appearing in the file. These are used in the processing of the combination. In most cases, it is positioned as a field overnight.
  • a definition field contains more than one word.
  • the definition field there is a definition field that is used for inputting the data (for example, in the evening of 3 pm, the de- evening, the mouth, and the do-be-tebe) are stored. It is roughly divided into the data that is used for the evening output (for example, a screen that displays the processing results) and the web that is used for the output of the evening.
  • O The definition field used for the input is called the input definition field and the definition field used for the output is the output definition field. Used for both: ⁇ fe 3 ⁇ 4 #i 3 ⁇ 4 (vm ⁇ ⁇ ) mm ⁇ - ⁇ ⁇ 2) 3 ⁇ 4 3 ⁇ 4 3 ⁇ 4 3 ⁇ 4
  • a + B + C is defined, the data field a (word a) in which information A should be stored is described by Lyee's methodology. In particular, it is called "endpoint word".
  • Information used to store data (information A) in the word a (generate information A) (here, information B and information) Field C and the field b and the field c (words b and c), in particular, The word is called.
  • the knowledge chain function program is positioned as the main program, and the W04 The set (function program), W02, 'let (function program), W03, and' let (function program) are , Its subroutines are located as programs.
  • a knowledge chain function program is provided for each basic structure.
  • the knock-down chain function program starts the pallet chain function program of another basic structure under the specified conditions. It also performs processing that activates the physical and physical definition fields.
  • W04 What is controlled (called) by the let chain function program is W04, 'let function program, W 0 2 It is a knowledge function program and W 0 3 is a knowledge function program.
  • the W04-note function program, the W02-note function program, and the W03-note function program are the same. Then, it is a program that controls a plurality of programs (element programs) described below. Taking a Kobol program as an example, the various types of element programs described below are expressed by W04, .
  • function program, W02. The location of the program called by the late function program and the W03 function is called by the late function program. Become .
  • the W03-Pareto function program (hereinafter referred to as the W03-norlet) is referred to as the "nighttime field", respectively. It depends on whether the word should be handled as described in W04-no, 'let function program (hereinafter, W04-no,' let). The word that should be handled, or the W02G of the W03 norlet function program (hereinafter referred to as the W03 norlet). Whether a word should be handled (belonging to) in the sub-knowledge or W04P sub-knowledge part has already been determined. (Assignment of words to pallets, determination of coordinates). In the following description, these words will be referred to as W04-norlet words, W02-norlet words, and W02G-sub-norre-words, respectively. This is called the word "W04P".
  • W04-knoret function program phase element program, logical element program, output operation element O A program that controls a program, a path operation element program, and a structure operation element program in this order.
  • W04 knowledge function program is provided for each type of output definition (screen A, screen B, etc.).
  • W 0 4 Nolet Function Program (W 0 4 Nolett
  • Phase element program (W04) Fig. 11 shows the processing flow. This is shown.
  • the phase element program (W04) is the previous note (W04, No. before the let). Since it is a let, the W04P sub
  • Each of the (assigned) words belonging to the 'note' (W04P subwords) is empty. (Whether the significance is established or not (whether the data field stores the data overnight)). If the meaning of the W04P sub-word is valid, the data field will be used. Is stored in that word), the data stored in that word (data field) is the W04P sub-note. From the corresponding word in the W04 A phase where the data is not stored in the word is called “empty”. If the word W04P is a blank word, processing is terminated as it is.
  • Logic element program (W04): Figure 12 shows the flow of processing.
  • W04 This is a program to edit the output of each of the palette words. For example, if the data to be output is stored in a single word (de-night / field) according to the code information, When converting code information to a language and outputting it to a display screen, or when outputting a numerical value to a form, an apostrophe (every three digits) is required.
  • This is a program that performs an editing process, such as outputting with an affixed (, 1, 0, 0). "Edit processing 1", "Edit The processing for editing (program description for editing processing) is assigned to "Editing 2".
  • Output operation element program Fig. 13 shows the flow of processing. This is a program provided for each output definition such as a screen, a form, and a file. Judgment of whether to output data to the output definition field (whether to output data stored in a word to the display screen) Etc.), and perform processing based on the judgment (if it should be output overnight, display it on the display screen or output it). If the data is not correct, go to the screen display, etc.).
  • Path operation element program (W04) Fig. 14 shows the flow of processing. As mentioned above, we will move from processing by one note to processing of one or more of the other palettes. In some cases, a Lyee program is created (branch). Path operation element program (W04 ) Is a program that specifies under what conditions it is necessary to proceed with the processing of the last W02, 'lett. is there . For example, if the path from the W04 to the W02 in the processing path diagram is branched, that branch is taken. A number of path operation element programs are provided according to the number of the paths. An instruction is given from the path operation element program to the note-linking function program, and the note-linking is performed based on the instruction. The function program should be operated next. Operate the W02 note.
  • Fig. 15 shows the flow of processing. Responds to all W04 pallet words being output processed by the above-mentioned output operation element program. After that, the data of the W04 palette word and the W04G subword and the letter word (data field) are added. It is a program that performs a clearing process and a process that turns off a flag that is raised when an incomplete process is performed. .
  • the Lyee program is basically a collection of programs that are created using words as units. For the words (assigned) belonging to the W04 knowledge (W04 knowledge), the phase element pro- Steps described above are respectively applied.
  • the program for the logic and logic elements (W02) and the element program for output operation are created.
  • W 0 4 No Definition field to which the word assigned to the letter belongs (here, , Engineering ⁇ 3 ⁇ 4 side) old ⁇ one ⁇ 3 ⁇ 4
  • Path operation element program (W 02): When the path going from the W 02 to the W 03 is branched, It is a program that specifies whether to proceed with the processing of any W03 knowledge under such conditions. A number of path operation element programs corresponding to the number of branches are provided. The processing and flow shown in Fig. 14 are performed.
  • W 03 knowledge function program (W 03 knowledge) phase element program, logic element program, phase type logic
  • the elementary program, the R-type phase element program, the logical element program and the path operation element program are basically arranged in order. Control it.
  • One W03 knowledge function program is provided for one system.
  • Figure 10 shows the processing of the W03-no-let function program (W03-no-let). In the following, the processing of individual element programs controlled by the W03 knowledge is described.
  • Phase element program W02 For each of the words assigned to the word, whether or not the significance is established (the date and time field indicates that the word is significant) Is stored in the program). If the significance is established, the word (data
  • This logical element program is W02G sub-no. Whether the word assigned to the letter has significance (the data is stored in the word data field) Or not). Then, if there is any significance (if it is not empty), the processing is terminated as it is, and if there is no significance (if it is empty), the significance is given. Attempt to perform the prescribed processing for setting up the system (setting of initial values, etc.). If a non-significant word becomes meaningful (when the data is stored in the data field), the process ends. .
  • Logic program (W02G) is not always required o
  • Phase element type theory element program W02G 4 3 ⁇ 4-4 4, ⁇ o $ one ⁇ )
  • ⁇ 3 ⁇ 4 3 ⁇ 4 3 ⁇ 4 3 ⁇ 4
  • ⁇ 3 ⁇ 4 3 ⁇ 4- ⁇ ⁇ 1 ⁇ 3 ⁇ 4 ⁇ Oblique 3 ⁇ 4! Depends ° ⁇ 3 ⁇ 4 ⁇ ⁇ ⁇ # 1 ⁇ 2 3 ⁇ 4 ⁇ s, 1 ;?
  • Figure 19 shows an existing program (hereinafter referred to as a conventional program) created by a method other than Lyee's development method. Maintaining the functions achieved by the conventional program, reconstructing it into a program with a new structure in accordance with Lyee's development method ( This is a flow diagram showing the overall flow of the processing to be regenerated.
  • the program reproduction process (program) consists of a formalization process (program) 31, a standardization process (program) 32, and Lyee ALL.
  • the processing (program) is executed in the order of 33. Some of these processes can be performed manually, rather than by the computer.
  • Program playback processing The program can be recorded on a recording medium such as a CD-ROM.
  • the program recorded on a recording medium such as CD-R0M etc. is played on a computer (Personal computer).
  • the computer When installed on a computer, workstation, etc.), the computer can operate as a program regeneration device. become .
  • Fig. 20 shows an example of the hardware configuration of the program playback device.
  • the program reproducing device 1 includes the CPU 2.
  • CPU 2 has input device 3 (keyboard, mouse, etc.) and data for receiving data input via a node.
  • Display device 4 (CRT display device, printing device, etc.) for output to a computer, and data recorded on a floppy disk (FD).
  • FD drive 5 for reading and recording data etc. on the FD
  • CD-ROM drive 6 for reading data etc. recorded on CD-ROM
  • the storage device 7 is connected.
  • the internal memory 8 inside the CPU 2 (or connected to the CPU 2) provides a program “area”, a program area, and the like. You
  • a program for this purpose (conventional program) is often composed of multiple programs. In large systems, the number of programs can be in the hundreds. Basically, in the program reproduction process, the above-mentioned three processes (formalization process, standardization) are performed for each program. Process and Lyee ALL process).
  • the position of the word in the structure of the Lyee program which is conventionally included in the program, is determined.
  • the processing that was performed is performed.
  • the creation of information for inputting (registering) to the tool (Lye eALL) for creating the Lye e program is also standardized in this standard. It is performed in the processing. The details of the standardization process will be described later.
  • the Lyee program retains the functions of the conventional program obtained through the above-described formalization process and standardization process.
  • the information required to satisfy the structure of the program is described in the program (Ten), which represents the basic processing structure of the Lye e program.
  • a process is performed to substitute the specified position on the plate. The details of Lyee ALL processing will be described later.
  • COBOL COmmon Bus ines s Oriented Language
  • Fig. 21 shows an example of a conventional program created by Kobol.
  • the left side of the program statement (instruction statement) is divided into a procedure section (PROCEDURE DIVISI ON) described later and other sections. Is written.
  • the Kobol's program contains the following four parts (DIVISION).
  • program ID The program name (program ID) is described in the heading (IDENT IFI CATION D IVISION) (line 02; PROGURAMU-ID. AAA 1.). This program is a program with a program name (program ID) of "AAA1".
  • the environment section includes a configuration clause (CONFI GURATION SECTI ON) (line 04) and an input-output clause (IN PUT-OUTPUT SECT I ON) (line 07).
  • the construct clause contains the name of the computer on which this program is to be processed (computer for translation). Data name and execution computer name) are described.
  • the computer name for translation is "AS400" (line 05: SOU RCE- COMPUTER. AS 400.).
  • the computer name for execution is "AS400" (line 06: OBJECT— COMPUTER. AS 400.).
  • a computer is added to the file control step (FILE-CONTROL) (line 08) of the input / output section (INPUT-OUTPUT SECT I ON).
  • the device name (input / output device name) for giving data to the data and execution computer) and for outputting the processing results is described. It is done.
  • Set the file “GAMEN-F” to the I / O device “Screen-AAA” (Line 09: SELECT GAM EN-FASS I GN TO Screen — AAA.) Is described.
  • “0 RGAN IZ AT I ON IS TRANSACT I ON.” (Line 10) is a file called “GAMEN-F” that performs transaction processing. I mean this.
  • the file clause (FI LE—SECT I ON) contains the file, the records that make up the file, and the terms that are included in the record. The relationship with the eyes is described.
  • the files include files that are set (stored and written) in a database, etc., and files that are output (displayed) to screens and the like. There are various types of files, such as files input from screens, etc., and files output (written) to forms, etc.
  • a file called “GAMEN-F” is set to the input / output device "Screen-AAA”. (Line 09).
  • GMEN-F is a file that handles items displayed on the display screen of the display device.
  • the record of such a file is called the definition field "screen”.
  • the identifier (definition identifier) that identifies the type of the definition field “screen” is “GAMEN-R” to be described later.
  • GMEN_F has a record (group item) called “GAMEN-R”, in which “SHIN-CD”, “SU”, “TANKA” and “KI NGAKU” It is stated in lines 13 to 18 of the DATA DIVISION section that the item (basic item) is included.
  • PICX following the description of the basic item indicates that the data to be handled by the basic item is the character and character set. "” Means that the data to be handled is numeric data with a sign in each case. The number in parentheses indicates the number of digits (number of characters).
  • the data field where some data is set (the data that the software handles is managed).
  • the most basic minimum unit for doing this is called a “word” in Lyee.
  • the conventional programs shown in Fig. 21 include "SHIN-CD", "SU”, and " You can see that the words “TANKA” and “KI NGAKU” are used. It can be seen that these words belong to the definition field "GAMEN-R”.
  • the WORK I G- STORAGE SECT I ON defines the area (work area) in which results such as the results of the overnight processing are stored. .
  • the database "SHIN-TBL” has two areas, “SHIN-CD” and “TANKA”, and “END-BTN” and others. And two areas called “WK”. Since these areas are also data fields where some data is set, they are positioned as "words" in Lyee. It is spelled out.
  • FIG. 22 shows an example of a screen (product order screen) displayed on the display screen of the display device by the conventional program shown in Fig. 21.
  • Fig. 23 shows an example of a database (commercial table) prepared in advance, and the subordinate based on the description in the procedure section (PR OCEDURE D IVISI ON).
  • Figures 24 and 25 show flow charts that show the flow of processing of the next program.
  • the display screen (identifier (definition body identifier) of this screen) is “ GAMEN-R) 54 includes a product code input field 55, a quantity input field 56, a unit price display field 57, a monetary value display field 58, and an end button. 59 is displayed.
  • the data fields corresponding to these input and output fields are SHIN-CD, SU, TANKA, and KINGAKU, respectively.
  • An end button 59 on the display screen 54 is clicked when processing of the conventional program is to be ended.
  • the processing of the conventional program ends (YES in step 63, step 72).
  • the enter key of the input device keyboard, etc.
  • the product code input field 55 and the quantity input on the display screen 54 will be displayed. It is determined whether data has been entered in the column 56 (NO in step 63, step 64).
  • the conventional program shown in FIG. 21 is based on the fact that data has been entered in the product code input field 55 and the quantity input field 56. Consecutive processing Prerequisites. For this reason, if there is no overnight input in at least one of the product code input field 55 or the quantity input field 56, In this case, an error processing is performed (NO in step 64, step 73; “99999” is displayed in the money amount display column 58 of the display screen 54). .
  • step 64 If the product code input field 55 and the quantity input field 56 on the display screen 54 are input overnight (YES in step 64), input The data representing the product code and the quantity of the product are set in the memory. Further, the merchandise table 60 is referred to based on the input merchandise code (step 65).
  • the merchandise code input field 55 corresponds to the data field "SHIN-CD" (commercial code input).
  • the data entered in the input field 55 is stored in the data field "SHIN-CD"), and should be stored in "SHIN-CD". It is pre-defined that the data must be 5-character data (data division 15 (DATA DIVISI ON)). Line).
  • Numerical data is input in the product code input field 55, or a code that does not exist in the product code field of the product table 60 is input.
  • an error processing is performed (NO in step 66, step 74; unit price table of display screen 54 "99999" is displayed in the display column 57).
  • step 66 If the input data is appropriate (YES in step 66), the product code corresponding to the product code input in the product code input field 55 The result of the multiplication of the unit price (see the product table 60) and the quantity entered in the quantity input field 56 is set in the work memory. Is performed (step 67).
  • step 68 It is determined whether or not the set multiplication result exceeds 10,000 (yen) (step 68). If the result of the multiplication exceeds 10,000 yen (YE S in step 68), the amount of calculation will be multiplied by 0.8 to the multiplication result (commodity unit price X number). Is the result of multiplication (step 69). The unit price of the merchandise is displayed in the unit price display column 57 of the display screen 54, and the calculated amount is displayed in the monetary amount display column 58 (step 71). ). If the result of the multiplication is 10,000 yen or less (NO in step 68), the result obtained by multiplying the multiplication result by 0.9 is displayed in the money amount display column 58. Is displayed (Step 70, Step 71).
  • FIG. 26 is a flowchart showing in detail the contents of the processing of the formalization processing (Step 51). Many of these operations can be performed automatically by a computer.
  • a command 'table' (whole) is created based on the description of the conventional program (step 81).
  • Figure 27 is a command 'table created based on the description of the conventional program (kobol' program) shown in Figure 21 (Whole).
  • the command te-bunore (whole) is created for all programs that run the system.
  • the conventional program shown in Fig. 21 is used to run the system (the entire program). Body).
  • the command table (whole) is defined by the type of the definition body, the command, the type of the instruction (program language), the condition, the external file, It has columns for I / O division and location of the note.
  • the definition field means an input / output medium handled by the computer as described above, and includes a screen, a database, a file, and the like.
  • Description of input / output section (INPUT-OUTPUT SECTI ON) of environment part (ENVIRONMENT D IVI SI ON) of conventional program and description of data part (DATA D IVI SI ON) From this, the types of definition fields that are conventionally defined by the program can be ascertained.
  • the types of definition fields that are conventionally defined by the program can be ascertained.
  • DB database
  • the “ASS I GN TO screen” is defined as the entry and exit of the definition “screen” following the description of the “ASS I GN TO screen” in the conventional program. This means that the device name is described. “FR0M” means that the name of the input / output device for the definition field “DB” is described after the description of “FR0M”. ⁇ This is a program agreement).
  • the file name is used in the ASS IGN clause in the Kobol program, and the database name is used in the FROM clause. It is described that is described.
  • the definition field stored in the “Definition field type” field is the definition field related to input. Or a denotation that indicates whether it is a defined field for output
  • the definition field “screen” is a definition field handled in the online processing T0.
  • the definition field “screen” is used for input (input of product code, input of several quantities) and output (output of unit price, output of money amount). ing . If the definition body type is "screen” and the input / output division is “input”, then "T0W02" is entered, and if the input / output division is “output”. “T 0 W 0 4” is stored respectively.
  • the command's table (whole) may be created by the engineer based on the description of the program.
  • step 82 the program is conventionally arranged (step 82). ).
  • the conventional program shown in FIG. 21 has undergone processing (step 82) for reorganization of the conventional program (after the reorganization has been completed). Or the program does not need to be implemented), so the processing (step 82) for the conventional program reorganization is performed. Details will be described later.
  • a command 'table' (by program) is created (step 83).
  • the command tables (for each program) are shown in Fig. 28.
  • the command table (by program) consists of the program ID, command, external file, and definition. It has columns for body, input / output, and pallet location.
  • program ID the program name (IDENTIFI CAT ION DIV ISI ON) written in the head of the conventional program (IDENTIFI) Program ID) is stored.
  • the program that runs the system can be specified by this program name (program ID).
  • a command table for each program is created for each program name (program ID).
  • the “command” column appears in the procedure section (PROCEDURE DIVISI ON) of the conventional program specified by the above-mentioned program ID. Instructions related to data input / output are stored.
  • the "definition field” is stored in the "command” field.
  • the command table (by program) is the command
  • FIG. 29 shows a processing path diagram created based on the description of the conventional program shown in Fig. 21.
  • Created command 'table by program or
  • the conventional program includes the basic structure of TO and T1.
  • conventional programs generally include words (de night, field, etc.) defined by the program that created the program. ) Is used, it is considered that the basic structure of K also exists.
  • the basic structure of TO and the basic structure of T1 each include a basic structure (an aspect of K) that performs an erasing process.
  • a basic structure consisting of W04-no-let, W03-no-let, and W02-pallet Draw the structure (circular structure) and connect these basic structures (W03 of the TO basic structure (W04P sub-node) (Let) and a line representing the route between the basic structure W04knett of T1). Draw the basic structure of K and connect it to the basic structure of TO.
  • the basic structure of TO and the basic structure of K for the error processing for each of the basic structure of T1 and T1 are depicted, and the basic structure of TO and And tied to the basic structure of T1.
  • a processing route diagram as shown in Fig. 29 is created.
  • the information extracted from the created processing route diagram is collected into a table (processing route diagram information table).
  • Figure 30 shows the processing path diagram information table.
  • the processing path diagram information table contains the current program ID (current PGM ID), processing path map ID, chain function ID, and. Let ID, Route Fields for element ID, next note ID, I / O command element ID, command, and definition field are provided.
  • “Current program ID (current PGM ID)” is the ID that is conventionally assigned to each program. When a plurality of conventional programs are reproduced in a Lyee program, each of them is identified by the current program ID. .
  • “Processing route diagram ID” is the ID attached to each basic structure. As described above, basically, a let-chain function program is provided for each basic structure (circular structure). The ID that identifies the pallet chain function program that comprehensively controls each of the basic structures is stored in the chain function ID column. It is.
  • the “knowledge ID” is an ID for identifying each of the pallets that make up the basic structure.
  • the “path element ID” is an ID that identifies a path extending from the knurl identified by the note ID. For example, in the processing path diagram shown in Fig. 29, the TOW03 no, 'let (T0W04P sub-no,' let) The route is T 0 W 0 4. The T, the T1W04, the KW04, and the K (Err) W04, are connected to each other (see Fig. 29). Sign A (branch point A))). IDs are assigned to each of these routes (Rute-1, Rute-2, Rute-3 and Rute-4
  • the “next note ID” is stored in the “knowledge ID” column by the route identified by the route element ID. This is an ID that identifies the note (next, 'let) associated with the note specified by the note ID.
  • the palette ID described above is attached to each of the palettes drawn in the processing path diagram, so this knowledge ID is used.
  • the knoll (next knoll) connected to the route identified by the route element ID is displayed.
  • the “input / output command element ID” is the information that is identified by the note ID, and is used for screens, data bases, files, etc. If you are accessing (reading data, writing data, etc.) a note, then that note reads the data (input Whether it is a pallet that performs the processing for writing, or a note that performs the processing for writing (outputting) the data. It is an ID for identification. "WRITE-1" is written on the pallet which performs the processing for reading (inputting) the data, and writing (outputting) the data overnight. "READ-1" is stored in each of the notlets that perform the above processing. In the “Command” column, enter the data used in the procedure (PR0C EDURE D IVISI ON) of the conventional program. Specific instructions (commands) for output are stored.
  • Fig. 31 is a flowchart showing the details of the primary coordinate determination processing
  • Fig. 32 is an example of the reel belt (the conventional method shown in Fig. 21). Each of the resources created from the program (the belts) is shown in the Lyee Belt (Fig. 32).
  • the instruction statement (program statement) described in the program description field is included.
  • the type of the prescribed instruction is described.
  • the instruction included in the instruction written in the program description field is an instruction that performs processing on the end word (end instruction). , Or an IF statement (IF), or any other instruction related to data input / output (CMD). It is done.
  • end instruction an instruction that performs processing on the end word
  • IF statement IF
  • CMD data input / output
  • step 84 the processing result of the pallet linkage function handling instruction statement special processing.
  • This is a process that specifies the instruction statement (program statement) that should be handled by the above-mentioned knowledge chain function program. Prescribed marks are stored in correspondence with directives that perform physical processing on defined bodies (screens, etc.). The instruction statement with the mark is stored in the "knoret chain function program" (the program of the "nolet chain function program”). (As part of the system description) I mean something.
  • the first coordinate determination processing (step 85) The result of the processing is added.
  • the primary coordinate determination process is basically performed by a computer. Of course, you may let the technician do some of this processing.
  • the first line of the instruction code of the conventional program described in the procedure section (PROCEDURE DIVISION) of the conventional program is the program reproduction.
  • the data is read into the CPU 2 (or the internal memory 8, storage means) of the unit 1 (steps 101 and 103).
  • the count of the program reproduction device 1 is incremented.
  • Step 104 It is determined whether or not the instruction read in CPU 2 contains a word description (whether or not a word is included). Whether a word is included in an instruction or not is determined by a part of the character string included in the read instruction that is included in the conventional program. It is possible to judge whether or not the same character string as the character string representing the word described in the procedure part (DATA DIVISI ON) is included.
  • step 104 If the instruction read into CPU 2 does not include a word, the counter is incremented and the next The instruction of the line is read into CPU 2 (NO in step 104, step 105, step 103).
  • the word is defined in the definition field (screen, file, DB (data). ) Or a numeric value (value) that does not belong to a definition field, or a numeric value (value). Is not a word (generally, a word created by a programmer who created a program in the past; this is called a work). Will be determined. In addition, if a word in an instruction is a definitive word, it is determined whether it is a word that belongs to any of the definitive fields.
  • Step 106 In deciding what words are included in an instruction, the description in the DATA DIVISI ON and the word Reference is made to the description of the final clause (FI LE-CONTROL) of the boundary (ENVIRONMENT DIVISI ON). For example, if "M0VE 99999 TO KI NGAKU OF GAMEN -R" on the 14th line is read, the instruction statement contains “99999” and the word “KI NGA KU (OF GAMEN_R) "is included. You can see that "99999” is a numerical value (value).
  • the word “KI NGAKU (OF GAMEN-R)” is a description of the definition field following "KI NGAKU”("0FGAMEN-R") and the data section (DATA DIVISI-R).
  • the identifier added is the internal memory together with the program (conventional program) described in the program description field. It is temporarily stored at 8 (means of storage).
  • the word is an endpoint word. Is determined as a starting word (step 107). If it is neither an end word nor a start word (N 0 in step 107), the process moves on to the next instruction statement (step Step 105, step 103).
  • Whether the word is an end word or a start word is determined by the word detected in the word detection process (step 104), the MOVE statement or the COMPUTE statement.
  • the word placed before "two (equal)" is the word (end-point word) to which de night is substituted.
  • the word “WK” has an identifier indicating that it is an end-point word, and the words “TANKAj and
  • FIG. 33 is a flowchart showing the details of the contents of the standardization processing (step 52).
  • new information is added to the above-mentioned re-belt (Fig. 32) by the second coordinate determination process (step 91). It is noted. Further, the instruction execution processing (Step 92) and the IF statement analysis processing (Step 92) are performed, and the instruction sequence table (described later) is executed. ) Is created.
  • the Lyee ALL registration information creation processing is performed from the created instruction sequence table and the above-mentioned processing path diagram information table (step 54). ). The details of these processes are described below in order.
  • FIG. 34 is a flowchart showing a detailed flow of the secondary coordinate determination processing (step 91).
  • Fig. 35 shows the Rei-belt (renewed Ribelt) obtained by the second coordinate determination processing. Since the secondary coordinate determination processing (Fig. 34) includes the same processing as the primary coordinate determination processing described above (Fig. 31), the primary coordinate determination processing (Fig. 34) includes the primary coordinate determination processing (Fig. 34). The same processing as the processing during the coordinate determination processing is assigned the same reference numeral, and duplicate explanations are omitted.
  • the secondary coordinate determination processing is also processed by the computer in the same way as the primary coordinate determination processing.
  • the technician may verify the processing result, and if necessary, the technician may modify the processing result.
  • the words are accompanied by data representing the above-mentioned identifier (primary coordinate)
  • the type of the Knollet linkage function T0, T1, or
  • the type of the knollet W04 0 W or 2 W sub-words or W 0 2G sub-words or W 04 P sub-notes.
  • An identifier is assigned to the word to indicate that it is in effect (step 111, assigning the word to the palette).
  • each type of pallet linkage function is included in the instruction read into CPU 2 (or internal memory 8; storage means). It can be determined from the type of definition field to which a word belongs.
  • the definition field “GAME N-R” is a screen definition field.
  • the words belonging to the definition field such as the screen are positioned as the palette chain function T0 (the type of the palette chain function is "T0").
  • Words belonging to the definition field "GAMEN-R” (“SHIN_CD”, “SU”, “TANKA” and “KING AKU") (following these words, "0F GAMEN-R" From the description of "-R", it is understood that it is a word belonging to the definition field "GEMEN-R”).
  • the identifier T0 or T0
  • T1 or K is added.
  • the decision on the pallet type of a word is based on whether the word is a word related to input or a word related to output. It is done.
  • the words "SHIN-CD (OF GAMEN-R)” and "SU (0F GAMEN-R)” are the descriptions on the 13th line of the procedure section (PROCED URE DIVISI ON). Only the input You can see that it is a word, in other words, it is a word of W02.
  • the words "SHIN-CD (OF GAME N-R)” and "SU (0F GAME N-R)” are given the identifier "T0W02". (Added to the program description field) (Fig. 35; Renewal of Lee's belt). Conventionally, each of the words contained in the program is assigned to one of the multiple pallets.
  • Fig. 36 is a flowchart showing the flow of the processing of the expansion of the instruction (satisfaction of the basic structure).
  • the same processing as in the first coordinate determination processing (Fig. 31) is assigned the same reference sign to avoid duplicate explanations.
  • the processing of the development of the instruction is also basically carried out by means of a combination.
  • the instruction For the instruction read into CPU 2 (or the internal memory 8), the instruction simply substitutes (refers to) the value.
  • a command statement such as a MOVE statement or a COMPUTE statement
  • a word starting word
  • a word whose value is to be substituted terminal word
  • It is determined whether or not there is a program sentence that includes the end word and the start word (step 121). If the statement is a program statement other than a MOVE statement or a COP UTE statement, the counter is incremented and the instruction statement on the next line is added.
  • the data is read (NO in step 121, step 105).
  • the read instruction statement is a MOVE statement, a COMPUTE statement, or the like (YES in step 121)
  • the second coordinate of the source word included in the instruction is ,
  • the secondary coordinates of the endpoint words are referenced. It is determined whether or not Lyee's cyclic structure (basic structure) is satisfied (step 122).
  • the programs created according to Lye e's methodology are W04 norlets and W02.
  • the program is programmed so that the processing is performed in the order of the note and the W03 note.
  • the circular structure is not satisfied.
  • a program instruction statement exists.
  • the expansion of the instruction statement (satisfaction of the cyclic structure) processing detects the instruction statement that does not satisfy the cyclic structure and circulates such an instruction statement. This is a process to ensure that the ring structure is satisfied.
  • the instruction statement on the 21st line (“M0VE TANKA 0 F SH IN -TBL ( Beginning: T1W02) TO TANKA OF GAME N-R (end: T0W04) ”)
  • the starting point of the instruction statement on the 21st line which explains the processing for developing the instruction statement
  • the word "TANKA (OF SHI N-TBL)" belongs to the "letter is a T1W02 no'let.
  • the batch processing is executed. It is necessary to transfer (phase) the data from the basic structure of T1 to the basic structure of the online processing TO.
  • a new word of the phase destination is set in the W04P sub-knowledge of the basic structure of the in-process TO (TANKA OF GAME N_R (T0W04P boundary) In such a case, the assigned word is the boundary word.
  • the sentence is added (MOVE TANKA OF SH IN-TBL (T1 W04P boundary) TO TANKA OF GAMEN-R (T0W04P boundary)) 0
  • a new word for the online processing TO's W04P subtitle (TANKA OF GAM) EN-R (T0W04P)) is set. Establish a command to connect the boundary word with the newly generated word of W04P sub-knowledge (MOVE TANKA OF GAMEN -R (T0W04P boundary) TO TANKA OF GAMEN-R (T0W04P)).
  • the instruction sequence table (Fig. 37), the line number where the execution of the instruction was processed and the position of the deployed instruction in the Lyee program are shown.
  • Palette palette function program
  • location location
  • the instruction after the development is described.
  • the contents of the instruction sequence table can be stored in the memory of the program reproducing apparatus 1 for a long time.
  • the instruction sequence table (the processing result of the execution processing of the instruction statement) may be described in the program description column of Lie'belt. In this case, the program description field of the Lee's belt is further updated.)
  • Figs. 38 to 40 are flowcharts showing details of the IF statement analysis processing.
  • the analysis of IF statements uses a processing path diagram information table (or processing path diagram). Using the information stored in the processing path diagram information table, Analysis can be performed in the evening. The technician performs the information input operation to the computer based on the processing path diagram information table (processing path diagram). It is also good.
  • the parsing of the IF statement is performed by determining the instruction statement of the IF statement that has been used in the conventional program and the position of the instruction in the Lyee program. This is the process to be specified.
  • IF statements appearing in a program specify (1) a route from one basic structure to another basic structure (or termination processing).
  • IF statement that specifies input or output conditions 3 Equivalent word (the same terminal unit in two or more instruction statements)
  • 3 Equivalent word the same terminal unit in two or more instruction statements
  • a word is used, it is broadly divided into an IF statement that controls the end word (especially called an equivalent word).
  • the IF statement in the conventional program can be replaced by any element program in the Lyee program. It is known that the ram should be used.
  • Step 131) From the "Processing element ID" column (or the processing path diagram (Fig. 29)) of the processing path diagram information table (Fig. 30), select the path operation element map.
  • One of the branch points to be branched by the program is selected (Step 131) o
  • the selected branch point is a branch point toward the basic structure of the error processing (YES in step 132)
  • the processing of the basic structure of the following processing (later) of the selected branch the processing of the error
  • the relevant IF statement is extracted. That is, the IF statement extracted here is a command statement in which the processing for performing the error processing is selected according to predetermined conditions. .
  • the extracted IF statement is used as the source of the selected branch point described above (for example, the branch point A in the processing path diagram in FIG. 29).
  • the original pallet is a T0W04P sub-palette.
  • the path operation element program (see Figs. 7 and 14) It is positioned as a running condition used in it.
  • the relationship between the extracted IF statement and the note to which the IF statement is to be used is temporarily stored in the internal memory 8 (Steer). 133.
  • step 142 It is determined whether there is an input condition or an output condition for the selected let, 'let (step 142). If there are no such conditions, proceed to the next palette selection (step 142 NO, step 140, step 141) o
  • the IF statement that specifies such an input condition or output condition is written in the program description. It is extracted from the description in the column. If the note selected in step 141 is a W02 note, an IF statement representing an input condition is extracted and selected. The input operation element program of W 0 2 1 1 is set as the "execution condition" of the program. If the selected note is a W04 palette, an IF statement representing output conditions is extracted, and the selected W04 note is selected. It is positioned as the "execution condition" of the output operation element program (step 143). The conventional program shown in Fig. 21 (the program in the program description field shown in Fig. 35) does not have such an IF statement.
  • a MOVE statement or COMPUTE statement whose end word is an equivalent word is searched from the program description field. Step 151).
  • an IF statement that controls the instruction statement is extracted.
  • W0 4 P Contains the starting word used to store data in the equivalent word (endpoint word) used in the MOVE statement, etc.
  • the extracted IF statement will be used for the “establishment?” In the logic program of the sub-knowledge (step 152). ). This is done for program statements containing all equivalent words (step 153).
  • the parsing of the above IF statements does not necessarily need to be performed in the above order.
  • the analysis of IF statements for equivalent words (Fig. 40) may be performed first, or the analysis of IF statements for input / output conditions (Fig. 40). (Fig. 39).
  • the instruction sequence table created by the expansion processing of the instruction statement (Step 93) is completed, and the analysis processing of the IF statement (Step 94) is completed.
  • the process proceeds to conversion to Lyee ALL registration information (step 94).
  • This conversion processing is based on the information (processing path diagram information table) obtained by a series of processing up to the parsing processing of the IF statement described above.
  • the Lyee ALL processing program (to be described later) describes the secondary coordinates of the word and the position of the IF statement in the conventional program in the Lyee program. This is a process that converts the input data format of the process by the ram. Since this is a process that changes the data format (such as the row of data), a detailed description is omitted.
  • FIG. 19 is a flowchart showing the contents of Lyee ALL processing.
  • the pallet chain function program which has a pre-defined processing structure, A general form (template) of the TUT function program and the element program is provided.
  • the predetermined position of the template (“Establishment?”, “Self-generation”, “Judgment”, etc.)
  • the information of the processing route diagram Statement (establishment condition information)
  • the instruction statement that appears in the conventional program Will be substituted.
  • the basic structure to which the end word in the instruction statement belongs as the MOVE statement or COPUTE statement in a conventional program, or as self-generated information. (Substituted for “self-generation” in the logic program of the W04P sub-palette).
  • it While having the processing functions achieved by a conventional program, it has a program structure that conforms to Lyee's methodology and has multiple programs (first 7 The program shown in the figure) (Lye e program) is completed (Step 96).
  • the program created by the program may contain a copy phrase (copy statement). This is done by registering a part of the source program (original text) in the library in advance, and leaving it in other programs. It is used for copying. If a copy phrase is used, the process of expanding the original text specified by the copy phrase (copy phrase expansion process) ) Is performed.
  • Fig. 42 shows the copy phrase expansion processing in the DATA DIVISIO section
  • Figs. 43 and 44 show the procedure section (PROCEDURE DIVISI ON) in the procedure section. The state of the copy phrase expansion processing that can be performed is shown in each case.
  • a description that calls a subroutine is included in the conventional program (during the main program). There are things that can be done. When the subroutine is called by the main program and execution of the called subroutine ends, the subroutine is restarted. Return to main program processing. In this case, the main program contains an instruction to call the subroutine (the subroutine CALL). In place of the subroutine CALL in the main program, the subroutine's instruction statement is inserted into the main program. The processing for expansion (insertion) is performed (subroutine expansion processing).
  • Fig. 45 shows the aspects of the subroutine development process.
  • the main program before deployment contains a CALL instruction to read the subroutine (CALL, SU SU00 ⁇ USI G WK-A WK—BWK-C), and the subroutine (program) If the program ID (PROGRAM-ID.) Power s “SUB001.”
  • Subroutine is provided, the CALL in the main program Instead of the instruction, the contents of the subroutine called by the CALL instruction are deployed (introduced) to the main program.
  • WK_Z 2 * WK-X * WK-Y * WK-Y
  • the description (LABEL-X) of the jump destination by the jump instruction "G0 T0" is included in the conventional program.
  • LABEL-X by the cleaning process The description of is deleted.
  • Some instructions conventionally used in programs can be replaced by other instructions.
  • any instruction that uses ADD, SUBTRACT, MULT IPLY, and D IVIDE can be replaced with an instruction that uses COMPUTE. And can be done.
  • Instructions using SET can be replaced using MOVE. If the instruction to be used by the final Ly ee program is to be determined in advance, the instruction to be used is determined. O Modify the program to use (this is called an irregular correction process) o
  • a shaping process is performed.
  • the following processes are conventionally performed on the program.
  • the program may have a multi-layered structure due to the use of PERFORM statements. This is converted to a single-story structure. For example, as shown in Fig. 50, when a PERFORM statement is used in a conventional program, the PERFORM instruction and the corresponding PERFORM instruction are used. Then, the program part called by the PERF ORM statement is moved to the part of the PERF ORM instruction.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Description

明 細 プ ロ グ ラ ム 再 生 方 法 お よ び 装 置 な ら び に プ ロ グ ラ ム 再 生 の た め の プ ロ グ ラ ム を 記 録 し た 媒 体 技 術 分 野
こ の 発 明 は プ ロ グ ラ ム 再 生 方 法 お よ び 装 置 な ら び に プ ロ グ ラ ム 再 生 の た め の プ ロ グ ラ ム を 記 録 し た 媒 体 に 関 し , さ ら に 詳 し く は , L y e eの 開 発 手 法 以 外 の 方 法 に よ り 作 成 さ れ た 既 存 の プ ロ グ ラ ム を , そ の 既 存 の プ ロ グ ラ ム が 達 成 す る 機 能 を 維 持 し て , L y e eの 開 発 手 法 に 従 う 構 造 を も つ プ ロ グ ラ ム に 再 構 築 す る 方 法 お よ び 装 置 な ら び に そ の よ う な 処 理 を コ ン ピ ュ ー タ に 実 行 さ せ る プ ロ グ ラ ム 記 録 媒 体 に 関 す る 。 背 景 技 術
L y e e ( governmental methodol ogY for softwarE p r ovidencE ) の プ ロ グ ラ ム の 開 発 手 法 は , 従 来 の ソ フ ト ウ ェ ア 作 成 方 法 を 変 革 す る も の と し て 登 場 し , 開 発 期 間 の 飛 躍 的 短 縮 , 開 発 工 数 の 大 幅 な 減 少 , 保 守 の 容 易 さ , ド キ ュ メ ン ト 量 の 現 象 等 の 成 果 を あ げ る も の と し て 注 目 さ れ て い る 。
従 来 の ソ フ ト ウ エ ア 作 成 方 法 に よ っ て 作 成 さ れ た 既 存 の プ ロ グ ラ ム で は , シ ス テ ム . エ ン ジ ニ ア ゃ プ ロ グ ラ マ の 個 々 人 の 個 性 が プ ロ グ ラ ム 中 に 現 れ や す い 。 こ の た め , 既 存 の プ ロ グ ラ ム を 解 析 す る の は , た と え サ ポ ー ト · ド キ ュ メ ン ト が あ つ た と し て も 容 易 で な い ど こ ろ か , 不 可 能 に 近 い 場 合 も あ る 。 プ ロ グ ラ ム 中 に 新 た な 記 述 を 力 Π え る こ と に よ り 新 た な 機 能 を 追 カ卩 し ょ う と し て も , プ ロ グ ラ ム 解 析 が 容 易 に 行 う こ と が で き な い の で 新 た な 機 能 の 追 力 Π 作 業 に 大 変 な 労 力 が 必 要 と さ れ る こ と が あ っ た 。
さ ら に , プ ロ グ ラ ム の 動 作 環 境 を 変 更 し ょ う と す る 場 合 ( コ ン ピ ュ ー タ ' マ シ ン や 0 S の 変 更 等 ) に は , 既 存 の プ ロ グ ラ ム を 一 切 利 用 せ ず , 新 た に プ ロ グ ラ ム を 作 成 す る 以 外 に 方 法 が な い と い う の が 現 実 で あ っ た
発 明 の 開 示
こ の 発 明 は , 既 存 の プ ロ グ ラ ム を 解 析 し , そ の 解 析 結 果 に 基 づ い て 既 存 の プ ロ グ ラ ム と 同 等 の 機 能 を 達 成 す る プ ロ グ ラ ム に 生 ま れ 変 わ ら せ る 方 法 を 提 供 す る も の で あ る 。 再 生 さ れ る プ ロ グ ラ ム は L y e eの 方 法 論 に 従 う も の で あ り , こ の 発 明 は 再 生 の 処 理 を 自 動 化 で き る よ う に す る も の で あ る 。
こ の 発 明 に よ る 方 法 は , L y e eの 開 発 手 法 以 外 の 方 法 で 作 成 さ れ た 既 存 の プ ロ グ ラ ム を , 上 記 既 存 の プ ロ グ Φ?) ¾ ^ ¥ ^ 09 ' ?) i 1 C 5 ^ ^ ¾ ί ¥ ^ ^ ¾ 09 マ α ^ ο) ¾a ' っ ° ¾ ^ 9 fi暴 :)
^ Co m ? 一 9ίί Q) 錄 動 09 » ¾ ¾ - m 亩 w $ ff? w ' w $ w w ' ¾ つ rig m ^ m ¾ ¾ - ¾
M 5? §i * ω ^ ' Si * ¾ ^ ^ ^ 2) マ ^ α # ¾ °
^ ^ CD ^ 鹦 ¾ » © マ ^ ^ α Θ " i ¾ , *i ¾ ω マ ^ ^ ロ Co { m ¾ ) つ 本 マ ^ ^ ロ
$ ¾ a ' ¾ ^ ¾ I Π FR W ¾ §1亩 ®
^ ^ ::) マ ^ ム Q) ¾ ' ^ 5 r) ¾ ¾ ø ^ ° § ¾ -
09 ^ ¾ ^ 9 っ ^ * ¾ ¾ §| ' 2} ^ - ^ ε
0 ' ε 0 ' o ' \ ( 案 產 ^ 講 マ ^ ロ ) マ
^ . 口 ¾ rj ϋ ¾ U- 0998 1 ' 1\ ^ ¾ - ¾
° ¾ 锇 ^ ) 1 - ΐ ω 挲 g ^ 謝 マ ^ α ω ) ¾ c- ¾ ¾ ¾ » ^ ¾ 2) ¾ ΐ ¾ ϋ ω Θ 9 1 ¾ £f 2) q 凝 ¾ : p) ^ ー : W ¾ Η m sQ^ §1 # ¾ $ 5 ^ Φ? } ^ ^ 09 ¾- ' ¾ ^ Φ ¥) ¾
^ ¥ ^ ^ ^ © マ α ^ © ¾ ' •f) w m:, 4 、 ω
¾ » ¾ 一 ' 1 3i ) 錄 s ω » ¾ § 4 ¾ Μ 南 ' ¾ §1亩 つ m ' a ffi w ¾ :· rig m ¾ ( ¾ ^
( ( y ^ ' 潼 髒 c a画 ¾ » s §1亩 ) m ^ ^ - m ^ m is ω ' ¾ Si亩 ¾ 2. : ¾ 1 ¾ i
ω ¥101 T ' ¾ ri ¾ G 2 °
¾ ¾ a. ¾ ¾ 4- ¾ M :) マ . α ¾ 據 ¾ ¾ 搶 ^
¾ D ¾ ΐ ¾閽 99 ' つ ¾ ¾ ¾ ¾i ¾ ¾ ^ ¾ マ ^
C
9T6.0/00df/X3d ' つ 尊 講 マ ^ 口 $
ε 0 Λ
4 。、 0 M ( - ^ Z 0 Νί ( χ ^ - 2\ ^ つ ffl 瞬 ' つ ^ ¾ ¾ 9r i $ 賊 fi$ 21 V ^ ^ ロ ^ マ ^ , ロ ' α ¾ 0- E ^ 4- ¾ 二) マ 口 據 ΐ ¾ M ® 9 θ
' っ ¾ ¾ ¾ ^ 鉼 § 4 ¾¾ί ¾ ^ マ 4. 口 : ω ^ ω ^ ' ¾ マ A a ^ o ^- ^ ^ ^ ^ co ^ w ¾ ¾ m 0998 i ' ?) ¾ ^ ¾: i &a ¾ ω ^ ' ¾ Q ¾ ° § ^
^ 2 § 4- ϊί ¾ 2i ^ ω ^ マ ^ ^ ロ
) 昝 玆 ¾ ¾ ' ¾ c ¾ 2} ϋ ¾ マ ^ ロ ^ ? ° § - :) q ω ¾ & 瞎 マ ^ ^ ロ ^ ( Q ^ ^ ^ ^ ¾ 4 ffi ^ 二)
^ ^ ;? マ ^ A ロ ^ ¾ ¾ ^ 斜 l
^1 ' 4一 て 3 ベ 匚 ¾ : ϋ ' マ ^ . ロ ^ ω ^ ¾
1{: $ ¾ ^ : ^ — て べ 匚 1 ^ つ ° ¾ ¾ 講 ¾ 3 ¾e 嗨 目 昝 ¾ q ¾ί 0 マ ^ ロ 93 i l ¾ マ ^ ^ ロ # ' ^ ¾ T i ½ ¾ ω
° <¾ ¾& ¾ ¾ ¾ 驗 0 ^ : マ ^ ^ ロ © D マ ^ ロ : 0 $ ¾ ¾ ' 0- ø ¾ H 9 I ¾ 2- I :) マ 口 w ^ a ^ ^ : p) ¾! : ^ ^ ^ 0 マ ^ ロ ¾t ^
° § W $ 铖 W :) 、^ ( マ ^ . α : ^ ¾ m ¾
Figure imgf000006_0001
i q
^ a) m m ^ --I ^ - -4 ^ t ^ m ^ is ^ ^ ^ -21 ^
9T6.0/00df/X3d CTZSC/IO OAV 上 記 既 存 の プ ロ グ ラ ム か ら 既 存 の プ ロ グ ラ ム で 用 い ら れ て い る 単 語 を , そ の 単 語 が 属 す る 定 義 体 お よ び そ の 単 語 の 入 出 力 区 分 を 識 別 し た 形 で 抽 出 し , 抽 出 し た 単 語 が 属 す る si 体 よ び 入 出 力 区 分 に 応 じ て , そ の 単 語 を , そ の 単 語 が 属 す る 定 義 体 に つ い て の W 0 2 ノ レ ッ ト , W 0 4 ノ レ ツ 卜 お よ び W 0 3 パ レ ツ 卜 の う ち の 一 ま た は 複 数 の パ レ ッ ト に 割 付 け , 既 存 の プ ロ グ ラ ム の 単 語 を 含 む 命 令 文 ま た は 命 令 を , そ の 命 令 文 ま た は 命 令 に 単 語 を 通 し て 関 連 す る ノ レ ツ ト に お け る L y e eの 開 発 手 法 に 従 う 構 造 を 持 つ 複 数 の プ ロ グ ラ ム 構 成 要 素 の う ち の い ず れ か に 従 う 形 に 変 換 す る ,
既 存 の プ ロ グ ラ ム に は , 一 般 に , そ の プ ロ グ ラ ム に よ っ て 制 御 さ れ る 定 義 体 ( 画 面 , フ ァ ィ ル 等 ) の 記 述 が 含 ま れ て い る 。 定 義 体 に つ い て の 記 述 か ら 既 存 の プ ロ グ ラ ム に よ っ て 制 御 さ れ る 定 義 体 が 把 握 さ れ , そ の 定 義 体 に つ い て の 基 本 構 造 を 動 作 さ せ る た め の 複 数 の プ ロ グ ラ ム 構 成 要 素 ( テ ン プ レ ー ト ) が 用 意 さ れ る 。 基 本 構 造 は , L y e eの 方 法 論 に 従 う プ ロ グ ラ ム 構 造 で あ つ て , W 0 2 ノ S レ ツ 卜 ( プ ロ グ ラ ム ) , W 0 4 ノ レ ツ ト ( プ ロ グ ラ ム ) お よ び W 0 3 ノ レ ツ ト ( プ ロ グ ラ ム ) を 含 む
既 存 の プ ロ グ ラ ム の 記 述 に 基 づ い て , 既 存 の プ ロ グ ラ ム に お い て 用 い ら れ て い る 単 語 が 属 す る 定 義 体 の 種 類 お よ び 入 出 力 区 分 を 把 握 す る こ と が で き る 。 定 義 体 ^ 敏 マ ^ . ί α ® g? 一 ^ § ^ :) 4 ゝ(
( ¾ i i ¾ fil ) w ¾ ° 9 i ^
^ ^ ω ^ ¾ 一 二) §1亩
: ' ? ) ^ ^ ¾ ^ ° 9r 4- 稱 ^ D ¾ D
( マ 挲 箠 s驪 » マ ^ , ロ G9 ^ ω
¾s ^ — 挲 達 Q) M Τ ' ¾ 凝s¾ ¾ ¾gst}! 3^a$一一6
¾ ¾ 4^ - ^ ^ ^
m ¾ 2) >i - > ^ § if ^ κ¾¾蓮 ω8 ¾ ¾©π露マ Π. « :) §1南 ' ^ 09 ^ φ
- 斜 一
§ 4 蓽 ¾ fig ¾
( 案 達 ^ 講 マ ^ ^ ^ 講 本 ¾ ω W : ^ i Φ ェ ω 士 - ° 9r 9:
^ ^ 口 ^ ¾ ¾
Figure imgf000008_0001
肇 g ^ 講 マ ロ G9 : 再 ¾ i ¾ *
5 ) 謝 ^ « si 亩 ¾
2 。 、 ^ ^ 2 § ^ : i - ^ 4- ^ — 09 ψ 鴛 1 ^ A ¾ マ ^ ロ ω ^ ' 2) ¾ - if: ¾ ^ §ι亩
¾ η if 2i 0 J. ^ 09 j V ^ Α ム ^
§ ^ ^ g K ¾ ¾ -.
Si ^ ^ ¾ W ί¾ 2) J- 0) q ( C O '
^ 0 M ' 4 S ο Νί %^ 亩 、 2. 1: 9 ¾ ::) マ
^ .ί α ^ ø ¾| ' 、 3 ffi Υ Λ 靡 ¾
9T6.0/00df/X3d CTZSC/IO OAV m ω i \( Z ¾ I 2. !{: ¾ m A § 亩 © Τ
^ ^ 2) ω ^ φ ¾i ^ ¥ ^ ^ : W $ «
^ ° 再 ^ ¾ -4- -2\ M 09 ^ ^ « ¥ ¥ ^ ^ n ^ ^ ^ ) ^ ^ ¾ ^ ^ 凝 ¾
B南 BWS ^n 2 ω¾-rD>>,-,
^ ^ f ) ^ ^ ^ ' Γ) ^ if 1 ¾; っ ¾ ¾ 励 ί it¾ ¾¾¾ssΘ s ¾南^τ5 ωつ ό;¾-- ω ^ %^ m ω ^ E亩 ¾s s ω士\マsT>. - ゝ( ω τ ζ ' つ 。 ¾ ¾ 『ι余
- -- m ^ 難 ί ω ^ iid ' ^ ¾ Μ ω ω Yd m ^ ^ G9 §1 亩
G9 r?f s ¾ ) ^ ^ ^ ¥ ^ ^ ω ^ ( 1 2) ^ ^ ?) : ^ ¾ ^ ¾ si 亩 τ w s
^ ^ « τχ JL Ο) # ¾ι ' « > つ ¥
¾ ^ α $ (? ^ 2 g ai ¾ ^ ¾ ¾ c ω J- ' ^ ¾ ¾ ^ 亩 ^ o- 亩 w ^ ω m is ω τ m 2 ¾ l U ^
^ ^ ^ ^ ' ( Q? ¾ Φ ω ^ ^ = マ ^
09 ¾ ¾ ω ^ ^ ° s ^ 画 κ 9 ^ ( ^ c ) ^ ^ ω i ^ ^ ) ^ ^ ' ^ ^
9r i i if ^ ^ m ^ ¾ コ) ^ 一 ° ¾ ¾ 2j 昝 玆 ) W X W T ω ^ ^ ム G) # ¾ ' τ\ ^ ^ つ rig ¾ i SI * ^ ?) ¾ ¾ ' ^ ¾ ¾ 3- is ^ ^ 南 9 1 ¾ 2] マ 4 α : 0 ¾
° ¾ W 、1 ¾
^ ^ ?) ¾ φ : ψ ¾ ¾ 一 0 ψ マ ^
^ 口 : © 25 ( マ 4 A ロ ^ 肇 潼 s 驪 ) 案 逢
9T6.0/00df/X3d CIZSC/10 OAV , ロ § 4 dg fi$ 二) £^ ¾ ¾ ¾ 4 ¾_ c 挲 達
^ 謝 マ ^ ^ α ' ¾ ^ ^ ?) ¾ί ^ ¥ ^ ^ ^ ¾
¾ B ¾ ¥ W Y ¾ f¾ B I¾ ¾ ^ ½ j *} ¾ ¾ ( ^ CO ^ ^
^ ^ ω マ ^ α 。乙 © # ^ ' ¥) α » f ¾ί ϋ 0
) 昝 玆 ^ 铖 、 ι ω 案 達 ^ 講 マ A α
Q) ^ i^ ¥) ¾i ^ ¥ ^ ^ ¾ ' ^ Ώ
_ 鼷 ^ 難( φ ¾ 掛 富王 尠 : ρ} ニ ψ マ ^ α ω ¾t
¥S ° ( 银 暈 :) ^ ^ T ri s ¾ ^ ^ T )
Hi ω i ¾ Ιί M si T ' ^ ^ ?) ¾ $ ¥ ^ ^ ¾ ω r °
¾ ¾ $ ¾ I 2. ^ ¾ 0| J? ^ ^ ^ ^ ^ c ^ ¾ -Ά m - --I ^ ( m ) * ικ ω ¾ ^ ¾ ^ ^ * 產 ^ 二) 驛 ¾ ^ © e %q. ^ M CO ^ Ί ¾ i 0, 11 A [¾ s M ^ W G Si 亩 ® T S 9 、 ¾
^ ^ ^ is co T ra z * ¾ Q ¾ . ' ^ ^ ¾: 军 :^ ^ ^ ^ っ ^ ^ マ ^ ^ ロ ^
Α η Q) ' ' i ¾ 、 if $ ¾9 ^ マ ^ . ロ ^ ^ ¾ ) ¾ ΐ ¾ ϋ 099^1 ' « マ ^ Α α ^ θ) # ^ :) ¾ί —
° 2 W ί« 4 ω 凝 ¾ ^ — Q ^\ Z 0 JQ ^ ^ Z 0 ' 4 、
^ o ¾ §ι # ¾ ^ ' ^ t 4- m ^ ^ m o ^ id c
9T6.0/00df/X3d CTZSC/IO OAV ラ ム 構 成 要 素 ( ノ、。 レ ッ ト 連 鎖 関 数 プ ロ グ ラ ム ; メ イ ン • プ ロ グ ラ ム ) の 一 部 と す る 。
好 ま し く は , 既 存 の プ ロ グ ラ ム か ら , 一 の 基 本 構 造 ま た は 複 数 の 基 本 構 造 の 組 合 せ に よ っ て 上 記 既 存 の プ 口 グ ラ ム の 処 理 の 流 れ を 表 す 処 理 経 路 図 を 作 成 す る 。 処 理 経 路 図 を 作 成 し て お く こ と に よ っ て , 既 存 の プ ロ グ ラ ム の 各 命 令 文 お よ び 単 語 の そ れ ぞ れ に つ い て , L y e eの 開 発 手 法 に 従 う プ ロ グ ラ ム に お け る 位 置 づ け を 容 易 に 把 握 す る こ と が で き る 。
た と え ば , 上 記 処 理 経 路 図 に , 2 以 上 の 異 な る 基 本 構 造 に つ な が る 経 路 ま た は 終 了 処 理 に つ な が る 経 路 が 表 さ れ て い る 場 合 に は , そ の 経 路 の 分 岐 点 に お け る 分 岐 条 件 を 表 す 条 件 命 令 文 ま た は 条 件 命 令 を 上 記 既 存 の プ ロ グ ラ ム か ら 抽 出 す る 。 抽 出 し た 条 件 命 令 文 ま た は 条 件 命 令 を , 上 記 分 岐 点 の 分 岐 元 に お け る パ レ ッ ト の 複 数 の プ ロ グ ラ ム 構 成 要 素 の う ち の 経 路 判 断 の た め の プ ロ グ ラ ム 構 成 要 素 ( 経 路 作 用 要 素 プ ロ グ ラ ム ) に 従 う 形 に 変 換 す る 。 条 件 命 令 文 ま た は 条 件 命 令 の L y e eの 開 発 手 法 に 従 う プ ロ グ ラ ム に お け る 位 置 づ け の 一 つ が 把 握 さ れ る 。
既 存 の プ ロ グ ラ ム に 用 い ら れ る 条 件 命 令 文 ま た は 条 件 命 令 に は , 上 述 の L y e eの 方 法 論 に 従 う プ ロ グ ラ ム に お い て 経 路 の 分 岐 条 件 と し て 位 置 づ け ら れ る も の の ほ か , 表 示 画 面 に デ 一 夕 出 力 す る 場 合 の 条 件 ( 出 力 条 件 ( マ a ^ Θ 9 i ) マ ^ ^ ロ ¾ :4據 ¾ ¾ ¾ ^
2} ¾ * ¾ ϋΙ © 88 ^ 1 ' っ II ^ § - ^ V ^ ? n Co ¾ G9 ^ ' ¾ マ ./ί α ® ω
° 4- ^ 2) ¾ ^ :) ( ^ マ ^ . 挲 達 s m ) m逢 ^ 講 マ ^ ^ ロ
CD QSl © ¾y ¾ 4 — ^ 案 v ^ ^ α ¾ ) ^ :) 4 § w ¾ ) n ^ §ι 亩 歸 ^ ' ¾ ^ ^ ¾ ?) ^ ¥ ^ ^ ¾ つ Fp m '?) ) ·^ 翳 W $ W W
%C ^ φ} : p) : ^ ^ ^ ¾ - ^ ¾ « ω § 亩 歸 ' つ 攀 ^ ^ φ :^ ^ ¥ ^ ^ 拏 ¾ ^ ri* co m亩 W ¾ ' 2. I ¾ η ¾ 2 0) マ L # ¾a
° ¾ 4 謝 ¾f ¾ i ( マ ^ ロ ^ M
£^ W / Υ ) 挲 箠 ^ 掛 マ ^ ^ ロ G9 Q? ¾ί ω ¾ > ^ w
?) : ^ ¾ ^ γ ¾■ ω m ¾ マ ^ a ^ ω m ¾ ¾
^ ^ 4- W ^ ^ ^ ^ ^ 一 ^ ¥ Φ
Y - ^ O ' ¾ ^ ^ } ^ ?) ^ ^ ^ φ
' :) ^ 翳 Ώ : ^ ^ 4 拏 i ^ U- FR 一 Ώ : ^ ¾ Ύ 一 ' つ 纷 ^ ^ ¾ Ώ 拏 Vt ^ W 4^ - ^ ?)
Y ― ' 、 ¾ ¾ 2 ω マ ム
° ¾ ^ ω ^ ^ Η
喜 ¾ ェ ¾ ¾ 畓 ¾ S ¾
¾ ω ¾ ^ ' ω ¾ if ¾ 裏 ¾ つ ;? ( Ι ¾ Y
) } ¾ ω ^ ^ m ^ ー 乙 ϋ ^ (
01
9T6.0/00df/X3d CIZSC/10 OAV ^ 、 耷 ) マ ^ ^ ロ ^ Q9 ^ ¾ ' ^ §ι南
、1 ¾ ^ マ ^ ^ 口 : ω # ¾ ' ^ ¾ )
¾ ¾ 铖 ¾ 4- ^ D ¾ c ¾ ri ^ ω
Figure imgf000013_0001
^ ) 4 u ω m ^ - --I ^
军 ) ^ ^ - ^ ^ ^ ^ ω ί ' ¾ ) π Λ -f ^ m ¾ §S ¾ ¾ ^ ^ ¾ 01 i ¾ ΐ f 21 ω
¾ ^ ^ 军 : ί ^ ^ ^ ω マ ロ ^
Γί ¾ ΐ I 21 o ζ m Ώ. ~ΐ ^ ' ¾ ΐ Ψ ΡΙ ω τ
コ) 4 ω 凝 —
Z 0 Νί ' 4 0 A 9 ^ ^ - m m §1 亩 ® ' i i ¾ ri ¾ | t> ¾»¾#¾ ¾挲&§εS
m ^ ( m w c m m $
: $ ¾ 21 i ¾ ΐ ¾ 0| G9 z ¾ SI T ' $ §i * Λ¾^^世¾¾lt τ wマΤベ πΓenε "·- SW¾¾ ^¾J π ϋfA乙マ 9-- -
、 ¾ :) マ ^ n ^ © # ¥S i ^ It 21 D ¾ ΐ
' ¾ ΐ S 01 G9 S ¾ 9r ¾ 2 ¾ マ ®
Ύ -k ' ¾ ΐ ^ 01 ω z ¾ § - ^ 01 ¾ ¾ ¾
m
'
§
Figure imgf000013_0002
' 嘉 マ ^ 口 : <2τ Τ
S ¾ ¾ S マ ^ 口 : π
9T6.0/00df/X3d A 口 。 s っ ¾ 翁 っ SI ¾ ( マ ^ ^ ロ ^ ^ ) マ ^ A n ^ ^ ^ n M -2\ ¾ tt マ ^ ^ 口 ¾ 敏 ^ 二) ¾ ^ ¾ 二) w ^ ω秦 達 ^ 講 マ a
^ ω m ^ Φ ?) ^ ί ¥ ^ ^ ω π ^ ロ ω ^ ^ Λ Τ ^ ' ( マ ^ A a ^ 01 ) マ ロ 9: 再 ¾ 第 コ) 喜 ¾ ¾ ¾ マ ^ ^ 口 : ¾ S
U ίιΐ :) 4 、 §| 南 ¾: 、 w 、 :) マ ^
¾S ) ¾ 翁 つ 籙 2 マ ^ ^ ロ ω - ικ r 喜 ¾ ^ ¾ マ ^ a : q ¾ r ' ?) ¾ ¾ 09 2 21 ¾
° 9r 、1 ^ ) Φ ( 4 ) 達 ^ 餚 マ ^ D : ¾ D MS ¾ ^ 0 88 1 ' sq. ^ ^ ^ ^
2] ¾ ^ ψ、 m ° w ¥ q- ^ Ψ. -- ^ ¾ ¾ ^ ^ ?) : $ ^ ω マ ^ ? a ω ^ ¾ aマ ^ a jL
° 9: W g 3ί 9r ($ ^ ^ 4- \ -Ά ^ ω 挲 g ¾s講 マ A n ji Q) M ¾ '
^ ^ m >1 c Λ ¾ ¾ §S ¾ ' \ ^ ^ τ\ $ ¥ ^
^ ω Φ マ ^ ロ ^ ω ¾t ¾ ° s ^ ^ 2 ¾ g
¾ ¾ ^ ¾ <$ ' ^ 4 ^ マ . 口 ¾ ©
9 θ . l > § 亩 w ^ ' a. ω ¾ n ^ ^ m
ί Φ £ o a ^
( Z Q M ' 4 ο W ' sコ) ( m \
^ > t ^ m - ^ ζ m ^ m e m m ϋ ¾
) ¾ ¾ ω ^ ® ¾ ^ ¾ ¾ ¾ ^国 §s s ¾ § w $
21
9T6.0/00df/X3d CTZSC/IO OAV ラ ム 記 録 媒 体 に は , 磁 気 デ ィ ス ク , 光 デ ィ ス ク , 光 磁 気 デ ィ ス ク , 磁 気 テ ー プ , 半 導 体 メ モ リ 等 を 含 む 。 図 面 の 簡 単 な 説 明
第 1 図 は L y e eの 方 法 論 に 従 う ソ フ ト ウ ェ ア · モ デ ル の 一 般 形 を 示 す プ ロ ッ ク 図 で あ る 。
第 2 図 は オ ン ラ イ ン 処 理 の 処 理 経 路 図 の 一 例 を 示 す 第 3 図 は ノ ツ チ 処 理 の 処 理 経 路 図 の 一 例 を 示 す 。 第 4 図 は K の 処 理 経 路 図 の 一 例 を , オ ン ラ イ ン 処 理 T 0 の 処 理 経 路 図 と と も に 示 す 。
第 5 図 は 一 般 的 な ソ フ ト ウ エ ア に つ い て の 処 理 経 路 図 の 一 部 を 示 す 。
第 6 図 は L y e eの 方 法 論 に お け る 単 語 の 取 扱 い ( 単 語 の 相 互 の 関 係 ) を 示 す 概 念 図 で あ る 。
第 7 図 は 基 本 構 造 ご と に 必 要 と さ れ る プ ロ グ ラ ム の 種 類 と , そ の 位 置 づ け を 示 す 。
第 8 図 は W 0 4 パ レ ツ ト 関 数 プ ロ グ ラ ム の 処 理 の 流 れ を 示 す フ ロ ー チ ヤ 一 ト で あ る 。
第 9 図 は W 0 2 ノ レ ツ ト 関 数 プ ロ グ ラ ム の 処 理 の 流 れ を 示 す フ ロ ー チ ヤ 一 ト で あ る 。
第 1 0 図 は W 0 3 ノ レ ヅ ト 関 数 プ ロ グ ラ ム の 処 理 の 流 れ を 示 す フ ロ ー チ ヤ 一 ト で あ る 。
第 1 1 図 は 位 相 要 素 プ ロ グ ラ ム ( テ ン プ レ ー ト ) の 処 理 の 流 れ を 示 す フ ロ ー チ ヤ 一 ト で あ る 。
第 1 2 図 は 論 理 要 素 プ ロ グ ラ ム ( W 0 4 ) ( テ ン プ レ ー ト ) の 処 理 の 流 れ を 示 す フ ロ ー チ ャ ー ト で あ る 。
第 1 3 図 は 出 力 作 用 要 素 プ ロ グ ラ ム ( テ ン プ レ ー ト ) の 処 理 の 流 れ を 示 す フ ロ ー チ ャ ー ト で あ る 。
第 1 4 図 は 経 路 作 用 要 素 プ ロ グ ラ ム ( テ ン プ レ ー ト ) の 処 理 の 流 れ を 示 す フ ロ ー チ ャ ー ト で あ る 。
第 1 5 図 は 構 造 作 用 要 素 プ ロ グ ラ ム ( テ ン プ レ ー ト ) の 処 理 の 流 れ を 示 す フ ロ ー チ ャ ー ト で あ る 。
第 1 6 図 は 論 理 要 素 プ ロ グ ラ ム ( W 0 2 ) ( テ ン プ レ ー ト ) の 処 理 の 流 れ を 示 す フ ロ ー チ ャ ー ト で あ る 。
第 1 7 図 は 論 理 要 素 プ ロ グ ラ ム ( W 0 2 G ) ( テ ン プ レ ー ト ) の 処 理 の 流 れ を 示 す フ ロ ー チ ャ ー ト で あ る 第 1 8 図 は 論 理 要 素 プ ロ グ ラ ム ( W 0 2 ) の 具 体 的 な プ ロ グ ラ ム 例 を 示 す 。
第 1 9 図 は プ ロ グ ラ ム 再 生 処 理 の 全 体 的 な 流 れ を 示 す 。
第 2 0 図 は プ ロ グ ラ ム 再 生 処 理 装 置 の 構 成 を 示 す ブ ロ ッ ク 図 で あ る 。
第 2 1 図 は 従 来 プ ロ グ ラ ム の 具 体 例 を 示 す 。
第 2 2 図 は 商 品 受 注 画 面 の 一 例 を 示 す 。
第 2 3 図 は 商 品 テ 一 ブ ル の 一 例 を 示 す 。
第 2 4 図 は 第 2 1 図 に 示 す 従 来 プ ロ グ ラ ム の 処 理 の 流 れ を 示 す フ ロ ー チ ヤ 一 ト で あ る 。
第 2 5 図 は 第 2 1 図 に 示 す 従 来 プ ロ グ ラ ム の 処 理 の 流 れ を 示 す フ ロ ー チ ヤ 一 ト で あ る 。
第 2 6 図 は 形 式 化 処 理 の 詳 細 な 処 理 の 流 れ を 示 す フ ロ ー チ ヤ 一 ト で あ る 。
第 2 7 図 は コ マ ン ド . テ ー ブ ル ( 全 体 ) の 一 例 を 示 す 。
第 2 8 図 は コ マ ン ド ' テ ー ブ ル ( プ ロ グ ラ ム 別 ) の 一 例 を 示 す 。
第 2 9 図 は 第 2 1 図 に 示 す 従 来 プ ロ グ ラ ム の 処 理 を 表 す 処 理 経 路 図 を 示 す 。
第 3 0 図 は 処 理 経 路 図 情 報 テ ー ブ ル の 一 例 を 示 す 。 第 3 1 図 は 第 1 次 座 標 決 定 処 理 の 詳 細 な 流 れ を 示 す フ ロ ー チ ャ ー ト で あ る 。
第 3 2 図 は 第 1 次 座 標 決 定 処 理 後 の リ ー · ベ ル ト の 一 例 を 示 す 。
第 3 3 図 は 規 格 化 処 理 の 詳 細 な 流 れ を 示 す フ ロ ー チ ヤ ー 卜 で あ る 。
第 3 4 図 は 第 2 次 座 標 決 定 処 理 の 詳 細 な 流 れ を 示 す フ ロ ー チ ャ ー ト で あ る 。
第 3 5 図 は 第 2 次 座 標 決 定 処 理 後 の リ ー · ベ ル ト の 一 例 を 示 す 。
第 3 6 図 は 命 令 文 の 展 開 処 理 の 詳 細 な 流 れ を 示 す フ ロ ー チ ヤ 一 ト で あ る 。 第 3 7 図 は 命 令 列 表 の 一 例 を 示 す 。
第 3 8 図 は I F 文 の 解 析 処 理 の 詳 細 な 流 れ を 示 す フ ロ ー チ ヤ 一 ト で あ る 。
第 3 9 図 は I F 文 の 解 析 処 理 の 詳 細 な 流 れ を 示 す フ ロ ー チ ヤ 一 ト で あ る 。
第 4 0 図 は I F 文 の 解 析 処 理 の 詳 細 な 流 れ を 示 す フ 口 一 チ ヤ 一 ト で あ る 。
第 4 1 図 は L y e e A L L処 理 の 内 容 を 示 す フ ロ 一 チ ヤ 一 ト で あ る 。
第 4 2 図 は コ ピ ー 句 展 開 処 理 の 一 例 を 示 す 。
第 4 3 図 は コ ピ ー 句 展 開 処 理 の 他 の 例 を 示 す 。
第 4 4 図 は コ ピ ー 句 展 開 処 理 の さ ら に 他 の 例 を 示 す 第 4 5 図 は サ ブ · ル ー チ ン 展 開 処 理 の 一 例 を 示 す 。 第 4 6 図 は ク リ ー ニ ン グ 処 理 の 一 例 を 示 す 。
第 4 7 図 は 変 則 修 正 処 理 の 一 例 を 示 す 。
第 4 8 図 は 命 令 文 の 一 行 化 処 理 の 一 例 を 示 す 。
第 4 9 図 は 命 令 文 の 一 行 化 処 理 の 他 の 例 を 示 す 。 第 5 0 図 は 単 階 層 化 処 理 の 一 例 を 示 す 。 °
S ^ ^ Z 0 M ¾ ^ 3g ェ · 乙 Λ § 4 M i:) 丫 ° f $ q w ' ¾ί ^ Y ^ 3 ^ — て べ c ί» ¾ ω ¾ γ ' Π iffl ' っ 鹪 ' ¾ 蓽 ω Ρ) 圓 丫 ' W ¾ α ( ¾ ¾ 凝 $ ^ 拏 Η 画 ^ 拏 ) m ^ ^ ^ m m m Y ' ^ 酵 ¾ W $ W T
2) ( 4 0 Λ ) ^ A ' Ύ ^ ° 9r W $ Υ ::) — て 3 ベ c ^ 酵 » ¾
ω - ω m m m ^ ^ ^ ' 、^ ( ¾ 拏
G9 ¾ ¾ S ¾ ¾ ¾ Q> S 画 拏 ) ίΐ ω ί — て べ 匚 9: $ 賊 『1$ ^ ¾ 4 阖 ) ^ ェ > 4 A
° ( ¾ 辜 、 © 蔓 : 4
\( ) ^ ^ Λ K h ' ^ 遐 § 阖 コ) G9 ェ 4 乙 Λ ( ^ ^ -r ^ ^ A § - ϋ Γ5 ΪΤ/ ) ^ 遐 ^ ' f) ^i ^ i - c M ^ A ¾ 2) M| ¾ ^ C 89^1 4 — て ベ
¾ ¾ rj ^ r ¾ - C) ¾ -fi- ^ ¾ SI i S ¾ ¾ 01 ' 再 $ * da 2i M n ^ ¾ n ^ ^ w ¾ ^ ^ r. 拏 ffl 画 挲 喜 ¾ 挲 ' ^ u m ^ ^ ^ ^ u ' ?) iii ¾ ^ ^ ^ m o m m ^ -^ ^ ^ ^ τ Ά c 圔 丫
Λ( ^ ϊ · -x ζχ し ^ ¾ Γ) !| ¾ ^ 0 θθ^Ί · T 篛 ¾ 0 ^ 瞢 09 ¾: 4 ? 牽 ¾ ¾ ¾
I
9T6.0/00df/X3d CTZSC/IO OAV Γ} q · : -6- o z o M. ω 、 o 1A q- f ¾ Ψ> ¾ i ^ 5 M ^( Z 0 M ' 2)
( ϊ · ェ 4 6. A © a a νί 1 ° 9r ^ ' ^ ^ . ^
A ¾ ¾^ ¾ ^ - ^ ¾; ¾ ϋ i c ^ 2) S ίί ^ 一 ^ ¾
' ^ ^ - d f 0 Ni ^ - A
A ¾ ¾ ¾ ¾ © ¾ ( ΐ 8 Ό ) Q ¾ ί¾ ¾ ^ - ^ ¾ ^ ^ ¾ )
4 ε 0 Λ ¾ 4 S 0 M ' '
-fr Ό S 0 ° Q ^ d 0 M ^ T ^ £) S 0 ¾r ¾ ΰ- 4 、 · 4 ' ?) ^ Z 0 ' 、 2} ( ^ i ^
「 ^ 謝 : Φ: 箕 」 ' 丄 ( ^ w m - ^ ) El T ¾
° ¾ 、 W $
) 0 T ¾ ' ^ ¾ ¾K - ω ^ i ¾ » ¾ ¾ ø r ° c- ¾ ¾ ¾ v o > M ¾ ¾ 4
Ί ^ ε o S O A ' つ ¾ 、
0 ' ? } l¾ * S ' ) ' ェ » 4 乙 A ' ^ ¾ ) « ¾ ^ 099 iq ° ¾r ¾ 画 Ιί 4 0 ¥ί ^ I Ο) ^ ^ ί 0 ' ¾- Q ¾ -I- ° · ffl ¾ 畜 S S て 3 べ 匸
。 - ^ ε Ο ¾ ^ ^ · <. q 乙 、 § -a- ^ « ¾ — て 3 べ 匚 つ ¾ ^ ) Y s ¾ 09 Q? :
w $ /¥ Fn T Γ) 4 O M O iRf T ' ¥J Β ϊ¾ ω 牽 ^ -4 n
5 ¾ つ ' ¥) ^ - て ;! べ 匚
81
9T6.0/00df/X3d CIZSC/10 OAV ° ¾ i ^ ¾ ¾r ¾ ( ^ - ^ ^ ^ ^ 7 m m a) ^ Λ( ( Ύ ^ --i ) 、 ¾ つ M 阖 丫 ^ ^
- ^ <^ U ^ ^ ^ ~ ^ t l „ 0 ' H 二 ω
° ^ ;? 4
' 4 ν ε ο Λ\ ο ェ ° ^ *0 4 ε ο Μ θ 工
' ¾ j / 1 ¾ ε 0 β ^ ^ ^\ ( ζ 0 ' 4 ^ \( y ^ ^ -1 ^ ^ 講 本 v o
Νί t co ^ ^ 翳 ?: ¾ ( "i w qi ff} ) a画 拏 蠶 拏 ' .?) ¥ ^ ¾ί ) ω <^ ^ I- m ^ m Ύ %Q- ^
§ ^ ^ ¾ ^ ri c e 0 ^ ' ) 籙 s © ^ —
ff? G T Γ) 4 0 AV ' ¥J 維 本 ¾ § 4 V ε 0 α ί? c \( ζ ο ' Μ ^ ^Ι ^ Ο
' 、 ^ · ェ 乙 、 6 ) 隳 ¾ 99 1
挲 ニ) 厘 画 拏 ) § xf ^ ^ ff? - c- ^ 2) ^ ^i ^ ^ 0 M '
^ 2) ^ t 0 M ¾ » ω · : 4 d
0 c w ^ ^ ( ¾ ^ -n rii Ε2 )
^ ¾ <$ 1 £f Γ) ^ ^l v. · ^ -fr d ^ 0
6t
9T6.0/00df/X3d CTZSC/IO OAV Λ 4 ov z 0 ' -I 0 ¾ £P 5 ¾
° 2 1^ <5 喜 ¾ つ ^ ^ ェ 4 ^ A ¾ ¾ ¾ ¾ 一 ^ ェ : p) 军 ' ^ ェ 4 乙 、 ^ ¾ ¾ ¾ g 亩 つ ff}
C) ^ , 口 マ 来 ¾ ' ?) ¾ * S © ¾
° § W $ ^ 達 、 ' # ¾ 構 本 ¾ ¾ ::) W ¾ W ¥! 3 §ί 欝 マ ^ 口 ¾ 講 マ ^ ^ ロ ø 来 ¾ ' ^ 翳 マ Π J C ¾ ] «I ¾ ^ © 99^1 ¾ マ a : ω ( 来 ¾ ) ¾ 。 ( 9· ^ ^ ; ェ . A ri ¾ ^ ¾ ) i ¾ ¾ϊ ¾ §£ ¾ ψ ¾ ω ¾ ω ' ? } 2) ^ fi 9 - ¾^ 9 ^ f¾ » ¾ α: 4. 乙 、 c ¾ m ¾ ^ © a 8 ^ 1 ' ^ — ( 9 §p a T 0 UH ) ¾ ri f¾
' f 講 本 ¾ ^ 4 O M f ^ τ ω 士 ° § ¾ ( ^ ^ > ^ 2. π ^ > ¾ ^ - ^ ω ¾ ^ ¾ α つ : ' ) Q? ¾ ¾^ ¾ ^ - ^ ¾ 2) ¾ 画 拏 ェ ::} 0 0 1
^ ) ^ 翳 ¾ ' — ^ ^ T ' 窨 ' ^
- ^ ¾ $ i¥ FFi i c- ^ 2i M ^ ^ ^ 0 M
° Q ^ ;? 4 ·
4 ε ο Μ ΐ ェ 。 iD 3 4 ε ο Λν τ 丄 ' 4 ^ s 0 τ X ' 4 Ο Μ Τ 丄 w r W ' ¾
4 ε 0 Λ £f S 0 M ' 4 、 0 ¾ £P 2) ΐ 1 S ¾ V 。 ifl :? T X B T¾ ^ ^ D a? ¾ ¾ ' ¾ i ^ * ¾ ^ ^ ¾ q o ¾ ^ ω
02
9T6.0/00df/X3d CTZSC/IO OAV W O 3 ノ レ ッ ト を , そ れ そ れ K — W 0 4 ノ レ ッ ト , Κ — W 0 2 ノ レ ッ ト , K — W 0 3 ノ レ ッ ト と 呼 ぶ 。 Κ 一 W 0 3 ノ、' レ ッ ト は , K — W 0 2 G サ ブ · ノ レ ッ ト と Κ - W 0 4 Ρ サ ブ . ノ、' レ ツ ト を 含 む 。
W 0 4 ノ レ ッ ト , W 0 2 ノ レ ッ ト お よ び W 0 3 ノ レ ッ ト か ら な る 基 本 構 造 を 用 い て , 所 定 の 処 理 を 行 う ソ フ ト ウ ェ ア を 視 覚 的 に 表 現 す る こ と が で き る 。 基 本 構 造 に よ っ て ソ フ ト ウ エ ア の 処 理 の 流 れ を 表 す も の を , 処 理 経 路 図 と 呼 ぶ 。 オ ン ラ イ ン 処 理 Τ 0 を 含 む 処 理 経 路 図 の 一 例 が 第 2 図 に 示 さ れ て い る 。 こ の 処 理 経 路 図 は , T 0 W 0 4 ノ レ ッ ト 11, T 0 W 0 2 ノ レ ッ ト 12お よ び T 0 W 0 3 ノヽ' レ ッ ト 13か ら 構 成 さ れ る 基 本 構 造 ( 循 環 構 造 ) を 含 ん で い る 。
Τ 0 W 0 4 ノ レ ツ ト 11 と Τ 0 W 0 2 ノ レ ツ ト 12と の 間 に は , 表 示 装 置 の 表 示 画 面 を 表 す ブ ロ ッ ク 14が あ る ο Τ 0 W 0 4 ノ レ ツ ト 11に よ っ て 表 示 画 面 14上 に 文 字 , 数 字 等 が 表 示 さ れ る 。
表 示 画 面 14に 表 示 さ れ る 文 字 , 数 字 等 を 見 て 人 間 が 入 力 装 置 を 用 い て , 文 字 , 数 字 等 を 入 力 す る 。 入 力 さ れ た 文 字 , 数 字 等 が T 0 W 0 2 ノ、。 レ ッ ト 12に よ っ て 取 扱 わ れ る 。
T 0 W 0 2 ノ レ ッ ト 12に 入 力 す る 文 字 , 数 字 等 が 用 い ら れ て Τ 0 W 0 3 ノ レ ヅ ト 13に お い て 所 定 の 処 理 が 行 わ れ る 。 す な わ ち , T 0 W 0 3 ノ、。 レ ッ ト 13の T O W 0 2 G サ ブ · ノ レ ツ ト ( 後 述 す る 位 相 要 素 プ ロ グ ラ ム ) が , 文 字 , 数 字 等 を 表 す デ ー タ を T 0 W 0 2 ノ、' レ ツ ト 12か ら 受 取 る 。 T 0 W 0 4 P サ ブ ' ノ レ ッ ト に お い て , T 0 W 0 2 ノ レ ツ ト の デ 一 夕 等 が 用 い ら れ て 所 定 の 処 理 ( 四 則 演 算 等 ) が 行 わ れ る 。 所 定 の 処 理 が 行 わ れ た デ 一 夕 ( 処 理 結 果 ) が T 0 W 0 4 ノ レ ツ 卜 11に 与 え ら れ る 。 T 0 W 0 4 ノ レ ッ ト 11は , T 0 W 0 4 P サ ブ ' ノ レ ッ ト の デ ー タ ( 処 理 結 果 ) を 受 取 り , 表 示 画 面 14に 表 示 す る 。
T 0 W 0 2 ノ レ ツ ト 12か ら の び る 経 路 が 2 つ に 分 か れ て い る 。 一 方 が T 0 W 0 3 ノ、' レ ツ ト 13に つ な が る 経 路 , 他 方 は 終 了 処 理 に つ な が る 経 路 で あ る 。 た と え ば , 表 示 画 面 14に 「 終 了 」 ボ タ ン が 表 示 さ れ て い る と き に ( そ の よ う な 表 示 画 面 を 表 示 す る よ う な プ ロ グ ラ ム を 作 成 す る と き ) に , こ の よ う な 処 理 経 路 図 が 描 か れ る 。 コ ン ピ ュ ー タ の 入 力 装 置 上 の エ ン タ ー ' キ ー が 押 下 さ れ る と , T 0 W 0 3 ノ、。 レ ツ ト 13に 向 か う 経 路 が 選 択 さ れ る 。 「 終 了 」 ボ タ ン が 押 下 さ れ る と , 終 了 処 理 に 向 か う 経 路 が 選 択 さ れ る 。
ノ ツ チ 処 理 T 1 を 含 む 処 理 経 路 図 の 一 例 を 第 3 図 に 示 す 。 こ の 処 理 経 路 図 は , T 1 W 0 4 ノ レ ッ ト 21, T 1 W 0 2 ノ レ ツ ト 22お よ び T 1 W 0 3 ノ レ ツ ト 23か ら 構 成 さ れ る 基 本 構 造 ( 循 環 構 造 ) を 含 ん で い る 。
T 1 W 0 2 ノ、。 レ ヅ ト 22は フ ァ イ ル B 25に 記 憶 さ れ て い る デ ー タ を 読 込 む 。 読 込 ん だ デ ー タ が T 1 W 0 3 パ レ ヅ ト 23に 移 さ れ る ( T 1 W 0 2 ノ レ ッ ト 22か ら T 1 W 0 3 ノ レ ツ ト 23の T 1 W 0 2 G サ ブ · ノ、 ' レ ヅ ト へ の デ ー タ 移 動 ) 。 T 1 W 0 3 ノ レ ッ ト 23に お い て 所 定 の 処 理 が 行 わ れ る ( T 1 W 0 4 P サ ブ · ノ レ ッ ト に よ る T 1 W 0 2 G サ ブ · ノ レ ツ ト の デ 一 夕 の 取 得 お よ び T 1 W 0 4 P サ ブ · ノ、' レ ッ ト に お け る 所 定 の 処 理 ) 。 T 1 W 0 4 ノ レ ツ ト 21が そ の 処 理 結 果 を 取 得 す る ( T 1 W 0 4 P サ ブ * ノ レ ツ 卜 か ら T 1 W 0 4 ノ レ ツ ト 21へ の デ ー タ 移 動 ) 。 T 1 W 0 4 ノ レ ッ ト 21に お い て , 処 理 結 果 が フ ァ ィ ル A 24に 記 録 さ れ る 。
T 1 W 0 2 ノ レ ツ ト 22か ら の び る 経 路 が 2 つ に 分 か れ て い る 。 一 方 が T 1 W 0 3 ノ レ ツ ト 23に つ な が る 経 路 , 他 方 は 終 了 処 理 に つ な が る 経 路 で あ る 。 た と え ば , フ ァ イ ル B 25に 含 ま れ る 複 数 の レ コ ー ド に つ い て , 順 次 T 1 W 0 3 ノ レ ツ ト 23に お い て 所 定 の 処 理 が 行 わ れ , す べ て の レ コ ー ド の 読 出 し お よ び 所 定 の 処 理 が 終 了 し た と き に 終 了 処 理 に 向 か う 経 路 が 選 択 さ れ る よ う な 場 合 に , こ の よ う な 処 理 経 路 図 が 描 か れ る 。
K を 含 む 処 理 経 路 図 の 一 例 を 第 4 図 に 示 す 。 上 述 の よ う に , K の 基 本 構 造 ( 循 環 構 造 ) は , W 0 4 ノ レ ツ 卜 に よ っ て 出 力 さ れ る デ ー タ が , 最 終 的 に 得 よ う と す る デ ー タ で な い 場 合 の 基 本 構 造 で あ る 。 最 終 的 に 得 よ う と す る デ 一 夕 の 出 力 ( T 0 W 0 4 ノ レ ッ ト ま た は T 1 W 0 4 ノ レ ツ ト に よ る 処 理 に よ る 出 力 ) に 結 付 け る こ と が 必 要 で あ る か ら , K を 含 む 処 理 経 路 図 に は 必 ず オ ン ラ イ ン 処 理 T 0 の 処 理 経 路 図 ま た は バ ッ チ 処 理 T 1 の 処 理 経 路 図 の 少 な く と も い ず れ か 一 方 が 描 か れ る 。 第 4 図 に 示 す 処 理 経 路 図 に は , K の 処 理 経 路 図 と と も に , オ ン ラ イ ン 処 理 T O の 処 理 経 路 図 ( 第 2 図 と 同 じ ) が 描 か れ て い る 。 K の 処 理 経 路 図 の 部 分 お よ び ォ ン ラ イ ン 処 理 T O の 処 理 経 路 図 の 部 分 を , そ れ そ れ 破 線 で 囲 っ て 示 す 。
K の 処 理 経 路 図 は , K — W 0 4 ノ、。 レ ッ ト 31, K - W 0 2 ノ、。 レ ツ ト 32お よ び K — W 0 3 ノ レ ヅ ト 33か ら 構 成 さ れ る 基 本 構 造 ( 循 環構 造 ) を 含 ん で い る 。
T 0 W 0 3 ノ レ ツ ト 13 ( T 0 W 0 3 ノ レ ツ ト 13の T 0 W 0 4 P サ ブ ' ノ レ ッ ト ) か ら の び る 経 路 が , 分 岐 点 A に お い て T 0 W 0 4 ノ レ ツ ト 11に 戻 る 経 路 と K 一 W 0 4 ノヽ' レ ツ ト 31に つ な が る 経 路 と に 分 岐 し て い る 。 T 0 W 0 3 ノ、' レ ツ ト 13の T 0 W 0 4 P サ ブ * ノ レ ヅ ト に お け る 判 断 ( 経 路 の 判 断 ) に よ っ て , T 0 W 0 4 パ レ ツ ト 11に 戻 る べ き か , K 一 W 0 4 ノ、。 レ ツ ト 31に 進 む べ き か が 決 め ら れ る 。
同 じ よ う に , K — W 0 3 ノ レ ツ ト 33 ( K — W 0 3 ノ、' レ ッ ト 33の K — W 0 4 P サ ブ - ノ レ ッ ト ) か ら の 経 路 が , 分 岐 点 Β に お い て , Κ 一 W 0 4 ノ レ ッ ト 31に 戻 る 経 路 と , T 0 W 0 4 P サ ブ . ノ、。 レ ッ ト ( T 0 W 0 3 ノ レ ツ ト 13の T 0 W 0 4 P サ ブ ' ノ レ ツ ト を 意 味 す る ) に 向 か う 経 路 と に 分 岐 し て い る 。 K 一 W 0 3 ノ レ ツ ト 33の K — W 0 4 P サ ブ · ノ、' レ ツ 卜 に お け る 判 断 に よ り , K — W 0 4 ノ、 レ ッ ト 31に 向 か う べ き か , T 0 W 0 4 P サ ブ ' ノ レ ッ ト に 向 か う べ き か が 決 め ら れ る 。 T O と K と の 間 , 丁 丄 と と の 間 等 , 異 な る 種 類 の 基 本 構 造 の つ な が り を , Lyeeの 方 法 論 に お い て 特 に ラ シ ョ ナ リ テ ィ と 呼 ぶ 。
分 岐 点 A に お い て , K 一 W 0 4 ノ レ ッ ト 31に 進 む 経 路 が 選 択 さ れ る と , K 一 W 0 4 ノ レ ッ ト 31か ら K — W 0 2 ノ、" レ ッ ト 32 , K — W 0 3 ノ、。 レ ッ ト 33に 進 み , こ こ で 処 理 の 処 理 ( 四 則 演 算 等 ) が 行 わ れ る こ と に な る 。
第 4 図 で は オ ン ラ イ ン 処 理 T 0 の 基 本 構 造 と K の 基 本 構 造 と の つ な が り ( 連 鎖 ) を 示 し た が , バ ッ チ 処 理 T 1 の 基 本 構 造 と K の 基 本 構 造 と の つ な が り も , 同 じ ょ ゔ に し て , 処 理 経 路 図 を 描 く こ と が で き る 。
第 5 図 は , 所 定 の 処 理 を 行 う ソ フ ト ウ ェ ア に つ い て の 一 般 的 な 処 理 経 路 図 の 一 部 を 示 す も の で あ る 。 コ ン ピ ュ ー 夕 に 所 定 の 処 理 を 行 わ せ る ソ フ ト ウ エ ア に つ い て 処 理 経 路 図 を 描 く と , 一 般 的 に は , 第 5 図 に 示 す よ う に , 多 数 の 基 本 構 造 ( オ ン ラ イ ン 処 理 T O の 基 本 構 造 , バ ッ チ 処 理 T 1 の 基 本 構 造 , K の 基 本 構 造 ) を 含 む 処 理 経 路 図 が 描 か れ る 。
Lyeeの ソ フ ト ウ エ ア · モ デ ル に よ っ て 処 理 さ れ る 情 報 の 単 位 は , 画 面 に 表 示 さ れ る 項 目 や , フ ァ ィ ル 中 に 現 れ る デ ー タ 項 目 で め o t_ れ ら は , コ ン ビ ユ ー 夕 の 処 理 に お い て は デ 一 夕 · フ ィ 一 ル ド と し て 位 置 づ け ら
_~
れ る 。 L y e e © 力 法 論 に お い て , ァ ― 夕 · フ ィ ― ル ド に 何 ら か の 値 が セ ッ ト さ れ た 状 態 を 有 意 状 態 ( 有 意 性 ) と 呼 ぶ o テ ー 夕 · フ ィ ー ル ド に 何 ら か の 値 を セ ッ ト す る 処 理 を , 成 立 処 理 と 呼 ぶ 。 何 ら か の デ ー タ が セ ッ ト さ れ る デ 一 夕 • フ ィ 一 ル ド ( 有 意 性 が あ る か ど う か を 判 断 す る こ と が で き る 単 位 , ソ フ 卜 ゥ ヱ ァ が 扱 う デ ー 夕 を 管 理 す る た め の a¾ ¾ 本 的 な 最 小 単 位 ) ま た は 設 け ら れ る べ き デ ー タ . フ ィ ー ル ド を 規 定 し た プ ロ グ ラ ム §d 述 を , 単 語 と 呼 ぶ 。 通 常 , 平 πα ( デ ー タ • フ ィ 一 ル ド ) は , 画 面 , 帳 票 , フ ァ ィ ル , デ ー タ べ ー ス , 電 文 等 に 属 し て い る ( 画 面 の 単 語 , 帳 票 の 単 語 , フ ア イ ル の 単 語 等 ) 。 単 語 が 属 す る 画 面 , 帳 票 , フ ア イ ル , デ ー タ ベ 一 ス , 電 文 等 を , 包 括 的 に 「 定 義 体 」 と 名 付 け る 。 一 般 に , 定 義 体 に は 複 数 の 単 語 が 属 す る 。 ま た 定 義 体 に は デ 一 夕 入 力 に 用 い ら れ る 定 義 体 ( た と え ば , 3 ン ピ ュ ー 夕 に デ — 夕 . 口 — ド す ベ テ 一 夕 が 格 納 さ れ て い る デ 一 夕 べ — ス ) と 夕 出 力 に 用 い ら れ る 疋 fe 体 ( た と え ば , 処 理 結 果 を 表 示 す る 画 面 ) と に 大 別 さ れ る 。 デ 一 夕 入 力 に 用 い ら れ る 定 義 体 を 入 力 定 義 体 と 夕 出 力 に 用 い ら れ る 定 義 体 を 出 力 定 義 体 と 呼 ぶ o ァ ー 夕 の 入 出 力 の い ず れ に も 用 い ら れ る :^ fe ¾ #i ¾ ( v m ^ ^ ) m m ^ - ^ τ 二) ¾ ¾ 謦
° 、1 ;? ;:) ¾ §111 擗 1 9 ¾ ( \ - Q9 ( KJ ω 互 ¾ © § 亩 ) ¾ ¾ §ι亩 ) ニ) 隳 ¾ a θ
' c γ co ° 2 ^ ^ ^ コ ¾ ¾ ¾ Γι余 ω ^ m
: 、 ス ' ¾ 『i余 ω ¾r o $ 鹦 s ¾ 蓽 ^
§1 亩 「 § W $ g 二) W ¾ $ ¾ 嶎 ^ ^ t U \ ' ( ;? w w $ ¾ ¾ ^ 4^ 一 ^ } H ^
- y c · 一 ^ ヽ ¾ ri* ω Q. ^ ,q. <ζ . $ 鹦 ^ ¾f
¾ 窨 ' c T 3 : 2 S ^ ¾ マ ^ α si亩 ' 0: 4- ° ¾r ¾ ^ Ik ^ 拥 「ι* ω ? Γ ¾ ^ 蓽 、 1 Ο· i §i * ø fig ^ a ¾ ¾ ^ - ^ U ^ m ^ §1 亩 ω '
^ ¾ 「i余 ^ ? コ ¾ ¾ s (? S ^ ^ i i c 25 ^ 亩 ω —
。 ( ¾ ¾ a> ^ 雨 ' 喜 2厘 G9 §| # )
' ^ ¾ ϋ 南 ^ ¾ H q: ¾ 4 ^ ( CD ^ U ^ D ε o ¾ ^ ^ Ζ 0 Νί ' 4 t 0 Μ ' ¾ £f ) ¾ ?) ί τ χ ' ο 1 ω τ ' ζ ν> a j gi ^ ω 2. ¾ ? α ¥ί ί¾ i ν1 25 ^ i · or | ^ Q) 9 θ Ί '
¾ ^ ° § 1? $ ¾9 ^ マ . ロ ^ © § 亩 ' 鎩
¾ ¾ §i 0 ¾ Τ ' f) a- ^ ϊ - or » ^ ^ A Q999
° ^ ia ? g * flR Y ¾ §i * 4 舊 ) » ¾ ¥ FF? Y ' ; g 亩 二) 襞 ¾ ' ^ ^ 亩 Υ
¥ FFJ Υ ¾
9T6.0/00df/X3d CIZSC/10 OAV め に ( 出 力 情 報 A を 表 す デ ー タ が 格 納 さ れ る べ き デ 一 夕 · フ ィ ー ル ド a 【こ デ 一 夕 を 格 納 す る た め に ) , 情 報 B お よ び 情 報 C が 必 要 で あ る と す る 。 情 報 B を 得 る た め に は 情 報 D , 情 報 E お よ び 情 報 F を 必 要 と し , 情 報 C を 得 る た め に は 情 報 G お よ び 情 報 H が 必 要 で あ る と す る 。 こ の よ う な 関 係 が 複 数 の 単 語 ( デ 一 夕 · フ ィ ー ル ド ) に お い て 存 在 す れ ば , 各 単 語 に お い て , 有 意 性 が あ る か ど う か を 判 定 す る こ と に よ り , 最 終 的 に 必 要 と さ れ る 出 力 情 報 A が 得 ら れ る か ど う か を 判 定 す る こ と が で き る 。 L y e eの ソ フ ト ウ エ ア · モ デ ル で は , こ の よ う に , 単 語 ご と の プ ロ グ ラ ム が 用 意 さ れ る こ と に な る 。
た と え ば , 出 力 情 報 A は 情 報 B と 情 報 C と の 足 し 合 わ せ の 結 果 で あ る と す る ( A = B + C ) o す な わ ち , 情 報 B と 情 報 C が 得 ら れ る と , そ の 得 ら れ た 結 果 ( 情 報 B お よ び 情 報 C ) を 利 用 し て , 出 力 情 報 A を 得 る こ と が で き る 。 A 二 B + C が 定 め ら れ て い る 場 合 , 情 報 A が 格 納 さ れ る べ き デ ー タ · フ ィ ー ル ド a ( 単 語 a ) を , L y e eの 方 法 論 に お い て 特 に 「 端 点 単 語 」 と 呼 ぶ 。 単 語 a に デ ー タ ( 情 報 A ) を 格 納 す る ( 情 報 A を 生 成 す る ) た め に 用 い ら れ る 情 報 ( こ こ で は 情 報 B お よ び 情 報 C ) が 格 納 さ れ る デ 一 夕 · フ ィ ー ル ド b お よ び デ 一 夕 . フ ィ ー ル ド c ( 単 語 b お よ び 単 語 c ) を , 特 に 「 始 点 単 語 」 と 呼 ぶ 。 端 点 単 語 に 格 納 さ れ る べ き デ ー ' マ ^ ^ ロ ¾ ς· τ ω '
§ 再 $ « :) S励 ί ¾ ( マ ^ . α 凝 κ 4 _^
¾ ) { ^ Ζ 0 ' 4 S 0 Μ ' 4
0 ) 4 · ^ 講 ' マ ^ Α ロ )
Μ %ί W ^ ' 4- 賊 睇 マ ^ α ^ Μ Μ$ ' ?! ( ^ 鎗 ¾ 疆 ) m ^ w
° § 4铷 梟 Ώ fig 3 ω
Ή ?} ¾ί ^ τ χ c ο ι ' 2- y\ ^ z: m co L m ° :? 蔓 ^ マ ^ . ロ ω 9 ^ ^ ' 、 D w r M ® i講
* ¾ © τ i m ^ ' ^ ω ο ι Β & ° § <$ '2· ω つ
¾ ? 灑 ¾ ¾ ' 鎩 S マ α ^ 9τ ΐ $ : 達
Figure imgf000031_0001
n L
° ? ¾ 鐮 s マ ^ ロ
¾ 肇 潼 ω ( ^ ^ マ ロ 99 Ί ' 丄 K1 ) マ ^ 口 ロ ¾ 09 09 ¾! § 4 [ ¾ ¾ ¾講 -χ ^ ^ Q) 1 ° <¾ ¾ ) ^ ¾ ェ > 4 乙 、 ¾ ^ 本 ¾
09 マ ^ ロ 99^1 '
講 ¾ 4 ε ο M > ^ ^ 2 0 ' 4
0 Μ ' ¾ 2) ϋ ¾ ^ © Θ Θ ^ Ί ' 2i C ^ η ¾ Τ
^ ^ t ί α ' ( ^ ti ω ¾ τ ) η ¾ ¾ ^ m
§ ¾ί 4^ - ^ ^ ¾ f ^ 2) §| * 2) §ι * ^ ^ ^ &
62
9T6.0/00df/X3d CIZSC/10 OAV プ ロ グ ラ ム を 例 に と る と , ノ レ ツ ト 連 鎖 関 数 プ ロ グ ラ ム が メ イ ン . プ ロ グ ラ ム と し て 位 置 づ け ら れ , W 0 4 ノ レ ッ ト ( 関 数 プ ロ グ ラ ム ) , W 0 2 ノ、' レ ッ ト ( 関 数 プ ロ グ ラ ム ) , W 0 3 ノ、' レ ッ ト ( 関 数 プ ロ グ ラ ム ) は , そ の サ ブ ル ー チ ン . プ ロ グ ラ ム と し て 位 置 づ け ら れ る 。 基 本 的 に , ノ レ ツ ト 連 鎖 関 数 プ ロ グ ラ ム は 基 本 構 造 ご と に 用 意 さ れ る 。 ノ レ ッ ト 連 鎖 関 数 プ ロ グ ラ ム は , 他 の 基 本 構 造 の パ レ ッ ト 連 鎖 関 数 プ ロ グ ラ ム を 所 定 の 条 件 の も と に 起 動 す る 処 理 , 物 理 的 な 定 義 体 を 動 作 さ せ る 処 理 も 行 う 。
ノ レ ツ ト 連 鎖 関 数 プ ロ グ ラ ム に よ っ て 制 御 さ れ る ( 呼 出 さ れ る ) の が , W 0 4 ノ、' レ ッ ト 関 数 プ ロ グ ラ ム , W 0 2 ノ レ ツ ト 関 数 プ ロ グ ラ ム お よ び W 0 3 ノ レ ツ 卜 関 数 プ ロ グ ラ ム で あ る 。 W 0 4 ノ レ ツ ト 関 数 プ ロ グ ラ ム , W 0 2 ノ レ ッ ト 関 数 プ ロ グ ラ ム お よ び W 0 3 ノ レ ッ ト 関 数 プ ロ グ ラ ム は , そ れ そ れ 次 に 説 明 す る 複 数 の プ ロ グ ラ ム ( 要 素 プ ロ グ ラ ム ) を 制 御 す る プ ロ グ ラ ム で あ る 。 コ ボ ル · プ ロ グ ラ ム を 例 に す る と , 次 に 説 明 す る 各 種 の 要 素 プ ロ グ ラ ム は , PERF ORM文 や CAL L文 に よ っ て W 0 4 ノ、。 レ ツ ト 関 数 プ ロ グ ラ ム , W 0 2 ノ、。 レ ヅ 卜 関 数 プ ロ グ ラ ム お よ び W 0 3 ノ ^ レ ヅ ト 関 数 プ ロ グ ラ ム に よ っ て 呼 出 さ れ る プ ロ グ ラ ム と い う 位 置 づ け に な る 。
上 述 の よ う に , Lye eプ ロ グ ラ ム に お い て , 単 語 ( デ 一 夕 · フ ィ ー ル ド ) に つ い て , そ れ ぞ れ W 0 3 パ レ ヅ ト 関 数 プ ロ グ ラ ム ( 以 下 , W 0 3 ノ レ ッ ト と 呼 ぶ ) に よ っ て 取 扱 わ れ る べ き 単 語 で あ る か , W 0 4 ノ、 ' レ ッ ト 関 数 プ ロ グ ラ ム ( 以 下 , W 0 4 ノ、' レ ッ ト と 呼 ぶ ) に よ つ て 取 扱 わ れ る べ き 単 語 で あ る か , W 0 3 ノ レ ッ ト 関 数 プ ロ グ ラ ム ( 以 下 , W 0 3 ノ レ ッ ト と 呼 ぶ ) の W 0 2 G サ ブ · ノ レ ッ ト ま た は W 0 4 P サ ブ · ノ レ ツ 卜 の 部 分 で 取 扱 わ れ る べ き 単 語 で あ る か ( 属 す る か ) が , あ ら か じ め 決 定 さ れ る ( 単 語 の パ レ ッ ト へ の 割 付 け , 座 標 の 決 定 ) 。 以 下 の 説 明 で は , こ れ ら の 単 語 を , そ れ そ れ , W 0 4 ノ レ ッ ト 単 語 , W 0 2 ノ レ ッ ト 単 語 , W 0 2 G サ ブ - ノ レ ッ ト 単 語 , W 0 4 P サ ブ ' ノ レ ツ ト 単 語 と 呼 ぶ 。
① W 0 4 ノ レ ツ ト 関 数 プ ロ グ ラ ム ( W 0 4 ノ レ ツ ト ) 位 相 要 素 プ ロ グ ラ ム , 論 理 要 素 プ ロ グ ラ ム , 出 力 作 用 要 素 プ ロ グ ラ ム , 経 路 作 用 要 素 プ ロ グ ラ ム お よ び 構 造 作 用 要 素 プ ロ グ ラ ム を , こ の 順 番 に 制 御 す る プ ロ グ ラ ム で め o 出 力 定 義 体 の 種 類 ( 画 面 A , 画 面 B な ど ) ご と に , W 0 4 ノ レ ツ ト 関 数 プ ロ グ ラ ム は 用 意 さ れ る 。 W 0 4 ノ レ ッ ト 関 数 プ ロ グ ラ ム ( W 0 4 ノ レ ツ ト
) の 処 理 の 流 れ を 第 8 図 に 示 す 。 以 下 , W 0 4 ノ レ ツ ト に よ つ て 制 御 さ れ る 個 々 の 要 素 プ ロ グ ラ ム の 処 理 に つ い て 説 明 す る
位 相 要 素 プ ロ グ ラ ム ( W 0 4 ) 第 1 1図 に 処 理 の 流 れ を 示 す 。 位 相 要 素 プ ロ グ ラ ム ( W 0 4 ) は , 前 ノ レ ヅ ト ( W 0 4 ノ、。 レ ツ 卜 の 前 ノ、" レ ツ ト で あ る か ら W 0 4 P サ ブ ' ノ レ ッ ト ) に 属 す る ( 割 付 け ら れ て い る ) 単 語 ( W 0 4 P サ ブ . ノ レ ッ ト 単 語 ) の そ れ そ れ に つ い て , 空 で あ る か ど う か ( 有 意 性 が 成 立 し て い る か ど う か ( デ ー タ · フ ィ ー リレ ド に デ 一 夕 が 格 納 さ れ て い る か ど う か ) ) を 判 定 す る 。 そ し て , W 0 4 P サ ブ ' ノ レ ッ 卜 単 語 に つ い て 有 意 性 が 成 立 し て い れ ば ( デ ー タ · フ ィ ー ル ド に デ ー タ が 格 納 さ れ て い れ ば ) , そ の 単 語 ( デ 一 夕 · フ ィ ー ル ド ) に 格 納 さ れ て い る デ 一 夕 を , W 0 4 P サ ブ . ノ レ ッ ト か ら W 0 4 ノ レ ッ ト の 対 応 す る 単 語 ( デ ー タ · フ ィ ー ル ド ) に 位 相 ( デ — 夕 移 動 ) さ せ る 。 単 語 に デ ー タ が 格 納 さ れ て い な い 状 態 を 「 空 」 と 呼 ぶ 。 W 0 4 P サ ブ . ノ レ ッ ト 単 語 が 「 空 」 で あ れ ば , そ の ま ま 処 理 を 終 了 す る 。
論 理 要 素 プ ロ グ ラ ム ( W 0 4 ) : 第 12図 に 処 理 の 流 れ を 示 す 。 W 0 4 パ レ ッ ト 単 語 の そ れ そ れ に つ い て , 出 力 編 集 を 行 う プ ロ グ ラ ム で あ る 。 た と え ば , 出 力 す べ き デ ー タ が コ ー ド 情 報 に よ っ て 単 語 ( デ 一 夕 · フ ィ — ル ド ) に 格 納 さ れ て い る 場 合 に , そ の コ ー ド 情 報 を 言 語 に 変 換 し て 表 示 画 面 に 出 力 し た り , 数 値 を 帳 票 に 出 力 す る 場 合 に 3 桁 ご と に ア ポ ス ト ロ フ ィ ( , ) を 付 し て 出 力 す る ( た と え ば , 1 , 0 0 0 ) と い っ た 編 集 処 理 を 行 う プ ロ グ ラ ム で あ る 。 「 編 集 処 理 1 」 , 「 編 集 処 理 2 」 に 編 集 の た め の 処 理 ( 編 集 処 理 の た め の プ ロ グ ラ ム 記 述 ) が 位 置 づ け ら れ る 。 W 0 4 ノ レ ッ ト 単 語 が 空 で あ る か ( デ 一 夕 · フ ィ ー ル ド に デ ー タ が 格 納 さ れ て い な い ) , 空 で な い か ( デ ー タ . フ ィ ー ル ド に デ 一 夕 が 格 納 さ れ て い る ) に よ っ て 編 集 処 理 を 異 な ら せ る こ と が で き る 。 「 成 立 ? 」 の 判 断 は , 編 集 処 理 が 実 行 で き た か ど う か を 判 断 す る も の で あ る 。 編 集 処 理 が 実 行 で き た な ら ば 「 成 立 処 理 」 ( た と え ば , そ の ま ま 処 理 を 続 行 す る ) に 進 み , 編 集 処 理 が 実 行 で き な か つ た な ら ば , 「 不 成 立 処 理 」 ( た と え ば , エ ラ ー · フ ラ グ を 立 て る ) に 進 む 。
出 力 作 用 要 素 プ ロ グ ラ ム : 第 1 3図 に 処 理 の 流 れ を 示 す 。 画 面 や 帳 票 や フ ァ イ ル と い っ た 出 力 定 義 体 ご と に 用 意 さ れ る プ ロ グ ラ ム で あ る 。 出 力 定 義 体 に デ ー タ を 出 力 す る か ど う か の 判 断 ( 単 語 に 格 納 さ れ た デ ー タ を 表 示 画 面 に 出 力 さ せ る べ き か ど う か 等 ) を 行 い , そ の 判 断 に 基 づ く 処 理 ( 出 力 さ せ る べ き デ 一 夕 で あ れ ば , 表 示 画 面 に 表 示 さ せ る , 出 力 さ せ る べ き で な い デ ー タ で あ れ ば , 画 面 表 示 を 見 送 る 等 ) を 行 う 。
経 路 作 用 要 素 プ ロ グ ラ ム ( W 0 4 ) : 第 1 4図 に 処 理 の 流 れ を 示 す 。 上 述 し た よ う に , 一 の ノ レ ッ ト に よ る 処 理 か ら 2 つ 以 上 の 他 の パ レ ッ 卜 の い ず れ か の パ レ ッ ト の 処 理 に 移 る よ う に L y e eプ ロ グ ラ ム が 作 成 さ れ る こ と が あ る ( 分 岐 ) 。 経 路 作 用 要 素 プ ロ グ ラ ム ( W 0 4 ) は , ど の よ う な 条 件 に よ っ て レヽ ず れ の W 0 2 ノ、' レ ツ 卜 の 処 理 に 進 む べ き で あ る か を 規 定 す る プ ロ グ ラ ム で あ る 。 た と え ば , 処 理 経 路 図 に お い て W 0 4 ノ レ ッ ト か ら W 0 2 ノ レ ツ ト に 進 む 経 路 が 分 岐 し て い る 場 合 に , そ の 分 岐 の 数 に 応 じ た 数 の 経 路 作 用 要 素 プ ロ グ ラ ム が 用 意 さ れ る 。 経 路 作 用 要 素 プ ロ グ ラ ム か ら ノ レ ッ ト 連 鎖 関 数 プ ロ グ ラ ム に 指 示 が 与 え ら れ , そ の 指 示 に 基 づ い て ノ レ ッ ト 連 鎖 関 数 プ ロ グ ラ ム が 次 に 動 作 さ せ る べ き W 0 2 ノ レ ツ ト を 動 作 さ せ る 。
構 造 作 用 要 素 プ ロ グ ラ ム : 第 1 5図 に 処 理 の 流 れ を 示 す 。 す べ て の W 0 4 パ レ ツ ト 単 語 に つ い て 上 述 の 出 力 作 用 要 素 プ ロ グ ラ ム に よ っ て 出 力 処 理 が 行 わ れ た こ と に 応 答 し て , そ の 後 に , W 0 4 パ レ ッ ト 単 語 お よ び W 0 4 G サ ブ ' ノ、' レ ッ ト 単 語 ( デ 一 夕 ' フ ィ ー ル ド ) の デ ー タ を ク リ ア す る 処 理 と , 不 成 立 処 理 が 行 わ れ た 場 合 に 立 て ら れ る フ ラ グ を オ フ に す る 処 理 と を 行 う プ ロ グ ラ ム で あ る 。
上 述 の よ う に L y e eプ ロ グ ラ ム は , 基 本 的 に , 単 語 を 単 位 と し て 作 成 さ れ る プ ロ グ ラ ム の 集 合 体 で あ る 。 W 0 4 ノ レ ッ ト に 属 す る ( 割 付 け ら れ た ) 単 語 ( W 0 4 ノ レ ッ ト 単 語 ) に つ い て , そ れ ぞ れ 上 述 の 位 相 要 素 プ ロ グ ラ ム , 論 理 要 素 プ ロ グ ラ ム ( W 0 2 ) お よ び 出 力 作 用 要 素 プ ロ グ ラ ム が 作 成 さ れ る 。 W 0 4 ノ、' レ ツ 卜 に 割 付 け ら れ て い る 単 語 が 属 す る 定 義 体 ( こ こ で は , 出 、 工 ^ ¾ 面 ) 舊 © 一 ^ ¾
Figure imgf000037_0001
、 :? ^ 乙 ^ @ 画 : マ ^ ロ 挲 m ^ ^
° 9r ? ii - i m
^ ロ 峯 達 © @} § 1^ $ 賊 【|$ ニ) v( ' 土 ^ ° ¾ ¾ ω Β ¾ ω ( 4 ゝ( Z 0
^ n ^ Z 0 M D E1 6 ¾ 。 ¾ ^ ^ ¾¾YMY »}¾SS。
②^ ¾ »ママb S ο: マ ^ ^ d ) ϋ ( 、 。 s 0 2] ^ „2 ^ S Co
Y ° § 4 Iffi ίι$ ::) * 難 ί © コ ¾ マ ^ ^ ロ 挲 g ¾
T Sf マ ^ ^ ロ : 輋 達 S 權 ' マ ^ 口 案 & ^
( ^ Z 0 ) マ ^ ^ ロ ^ 凝 M 4 ^ ø 凝 ¾ ^ ω ¾ι ¾' ¾ Λ 09 ¾ ^ ^
^ 0 ^ ^ m ^ ¾ * Ϊ 25 ^
Co T マ a ^ ^ g ¾ §3 ¾ 。 <¾ 1: $ ^ ^ マ
^ ^ 0 ^ 案 達 ¾ ^ 緝 1 0: ' )
9C
9T6.0/00df/X3d CIZSC/10 OAV る プ ロ グ ラ ム で あ る 。 た と え ば , 所 定 の 単 語 ( ユ ー ザ が 入 力 装 置 を 用 い て 入 力 す る デ 一 夕 が 格 納 さ れ る べ き デ ー タ · フ ィ ー ル ド 等 ) に 格 納 さ れ る べ き デ ー タ の 型 は 数 値 で あ る , と 定 め ら れ て い る の に も 関 わ ら ず , 文 字 デ ー タ が ユ ー ザ に よ っ て 入 力 さ れ た 場 合 の 処 理 ( 属 性 検 査 ) 等 が , 論 理 要 素 プ ロ グ ラ ム ( W 0 2 ) に よ つ て 行 わ れ る 。 W 0 2 ノ レ ッ ト 単 語 と 同 じ 数 の 論 理 要 素 プ ロ グ ラ ム ( W 0 2 ) が 用 意 さ れ る 。
経 路 作 用 要 素 プ ロ グ ラ ム ( W 0 2 ) : W 0 2 ノ レ ツ 卜 か ら W 0 3 ノ レ ツ 卜 に 進 む 経 路 が 分 岐 し て い る 場 合 に , ど の よ う な 条 件 に よ っ て , い ず れ の W 0 3 ノ レ ツ 卜 の 処 理 に 進 む べ き で あ る か を 規 定 す る プ ロ グ ラ ム で あ る 。 分 岐 の 数 に 応 じ た 数 の 経 路 作 用 要 素 プ ロ グ ラ ム が 用 意 さ れ る 。 第 14図 に 示 す 処 理 と 流 れ と な る 。
③ W 0 3 ノ レ ツ ト 関 数 プ ロ グ ラ ム ( W 0 3 ノ レ ツ ト ) 位 相 要 素 プ ロ グ ラ ム , 論 理 要 素 プ ロ グ ラ ム , 位 相 型 論 理 要 素 プ ロ グ ラ ム , R 型 位 相 要 素 プ ロ グ ラ ム , 論 理 要 素 プ ロ グ ラ ム お よ び 経 路 作 用 要 素 プ ロ グ ラ ム を , 基 本 的 に は 順 番 に 制 御 す る 。 一 つ の シ ス テ ム に 一 つ の W 0 3 ノ レ ツ ト 関 数 プ ロ グ ラ ム が 用 意 さ れ る 。 W 0 3 ノ レ ッ ト 関 数 プ ロ グ ラ ム ( W 0 3 ノ、。 レ ッ ト ) の 処 理 を 第 10図 に 示 す 。 以 下 , W 0 3 ノ レ ッ ト に よ っ て 制 御 さ れ る 個 々 の 要 素 プ ロ グ ラ ム の 処 理 に つ い て 説 明 す る 。
位 相 要 素 プ ロ グ ラ ム ( W 0 2 G ) : W 0 2 ノ レ ヅ ト に 割 付 け ら れ て い る 単 語 の そ れ ぞ れ に つ い て , 有 意 性 が 成 立 し て い る か ど う か ( デ 一 夕 · フ ィ ー ル ド に デ 一 夕 が 格 納 さ れ て い る か ど う か ) を 判 定 す る プ ロ グ ラ ム で あ る 。 有 意 性 が 成 立 し て い れ ば , そ の 単 語 ( デ ー タ
• フ ィ ー ル ド ) に 格 納 さ れ て い る デ ー タ を , W 0 2 パ レ ツ 卜 か ら W O 2 G サ ブ ' ノ レ ツ 卜 の 単 語 ( デ ー タ · フ ィ ー ル ド ) に 位 相 ( デ 一 夕 移 動 ) さ せ る 。 W 0 2 パ レ ツ ト 単 語 の 数 と 同 じ 数 の 位 相 要 素 プ ロ グ ラ ム が 用 意 さ れ る 。 第 1 1図 と 同 様 の 処 理 と な る 。
論 理 要 素 プ ロ グ ラ ム ( W 0 2 G ) : 第 1 7図 に 処 理 の 内 容 を 示 す 。 W O 2 G サ ブ * ノ レ ツ 卜 に 割 付 け ら れ て い る 単 語 と 同 じ 数 の 論 理 要 素 プ ロ グ ラ ム が 用 意 さ れ る 。 こ の 論 理 要 素 プ ロ グ ラ ム は , W 0 2 G サ ブ ' ノ、。 レ ツ 卜 に 割 付 け ら れ て い る 単 語 に 有 意 性 が あ る か ど う か ( 単 語 の デ ー タ · フ ィ ー ル ド に デ ー タ が 格 納 さ れ て い る か ど う か ) を 判 断 す る 。 そ し て , 有 意 性 が あ れ ば ( 空 で な け れ ば ) そ の ま ま 処 理 を 終 了 し , 有 意 性 が な け れ ば ( 空 で あ れ ば ) , 有 意 性 を 成 立 さ せ る た め の 所 定 の 処 理 ( 初 期 値 の 設 定 な ど ) を 試 み る 。 有 意 性 が な い 単 語 が 有 意 性 を 持 つ よ う に な る と ( デ ー タ · フ ィ ー ル ド に デ ー タ が 格 納 さ れ る と ) , 処 理 が 終 了 す る 。 論 理 要 素 プ ロ グ ラ ム ( W 0 2 G ) は 必 ず し も 必 要 と は さ れ な い o
位 相 要 素 型 論 路 要 素 プ ロ グ ラ ム : W 0 2 G サ ブ · パ 4 ¾ - ス 4 、 ェ o $ 一 ^ )
¾
¾:
Figure imgf000040_0001
8C
9T6.0/00df/X3d CTZSC/IO OAV 判 断 す る 。 そ し て , 有 意 性 が あ れ ば そ の ま ま 処 理 を 終 了 し , 有 意 性 が な け れ ば ( デ 一 夕 · フ ィ ー ル ド に デ 一 夕 が 格 納 さ れ て い な け れ ば ) , 有 意 性 を 成 立 さ せ る た め の 所 定 の 処 理 ( 四 則 演 算 や デ ー タ 移 動 処 理 ) を 試 み る 。 有 意 性 の な か っ た 単 語 が 有 意 性 を 持 つ よ う に な る と ( デ ー タ . フ ィ ー ル ド に デ 一 夕 が 格 納 さ れ る と ) , 処 理 が 終 了 す る 。 第 17図 と 同 様 の 処 理 と な る 。
上 述 の R 型 位 相 要 素 プ ロ グ ラ ム , 位 相 要 素 型 論 理 要 素 プ ロ グ ラ ム お よ び 論 理 要 素 プ ロ グ ラ ム ( W 0 4 P ) の 処 理 の 結 果 は , 後 述 す る W 0 3 ノ レ ッ ト 関 数 プ ロ グ ラ ム の 「 再 起 か ? 」 の 判 断 の 対 象 に な る ( 後 述 す る ) 経 路 作 用 要 素 プ ロ グ ラ ム ( W 0 4 P ) : ど の よ う な 条 件 に よ っ て い ず れ の W 0 4 ノ レ ツ ト の 処 理 に 進 む ベ き で あ る か を 規 定 す る プ ロ グ ラ ム で あ る 。 分 岐 の 数 に 応 じ た 数 の 経 路 作 用 要 素 プ ロ グ ラ ム が 用 意 さ れ る 。 第 14図 と 同 様 の 処 理 と な る 。
W 0 3 ノ レ ッ ト 関 数 プ ロ グ ラ ム ( 第 10図 ) の 「 再 起 か ? 」 の 処 理 は , R 型 位 相 要 素 プ ロ グ ラ ム 中 の 「 位 相 」 が 成 立 す る ま で , さ ら に , 位 相 要 素 型 論 理 要 素 プ ロ グ ラ ム 中 の 「 自 己 生 成 」 の 部 分 お よ び 論 理 要 素 プ ロ グ ラ ム ( W 0 4 P ) 中 の 「 自 己 生 成 」 の 部 分 に お い て 新 た に デ 一 夕 が 格 納 さ れ る べ き 単 語 に デ ー タ が 格 納 さ れ る ま で , 処 理 を 繰 返 す こ と を 意 味 す る 。 W 0 3 ノ レ ツ ^ ^ ^ί ^ ^ ^ ' . c D §g ¾ ' ^ 襞 ^ ( si 亩 w A w f¾ ^! 、 ν ) a) ' マ ^ ^ ロ ^ m m i ^ マ ^ 口 ^ 挲 產 つ ίί τ
Figure imgf000042_0001
Q ¾ Γ) Β ¾ ω 1: <$ 「 * 」 ^ ^ 一 w $ W ¾ 二) §1 南 ' Q 1ί i Β ¾ ω ^ ^ ¾ α 「 ¾ 凝 」 6 — ^
$ « ¾ r) §i 亩 ) ω - ' « ¾ 2 マ ^ ^ α ^ ¾: ΐ
^ 0- ^ Γ5 ^ 2 ¾ ¾ ^ ϋ # 。 ¾ 2) ;? Ί W : ¾ ^ ( 皋 纷 ' » ) Β W ¾ ^ Τ α (Ml ' §| 亩 4
Z 0 Ni CO M ^ ° ( 9 W $ ^ ( 2 0 ) マ ^ ロ ^ 挲 產 S 隳 亩 4 V S O M ' ¾ q: ¾ ^ ) ¾
^ ¾ ^ ( ± rig 驩 ^ 亩 ) 士 「 驩 4 拏 亩 4 ^ s
0 ( ^ 遐 © ( ^ ) □ ° 、 w $ ^ ベ ^ ^ α ム ' 25 -^ ¾ ^ ¾ i ¾ B l¾ ^ ^ ^ IS19 i l| ) ¾ ' ?} マ ° 4 ^ ¾ w O ( 2 0 ) マ ^ 口 挲 達 菌 隳 ¾r ¾ — G9 マ ^ ^ 挲 g ' 园 81 ¾ ) ^ 2 ¾ ¾ 2) B ¾ ¾ £T 2) i » * S G9 -2. 9 ^ ¾
^ ¾ ¾ ^ - .-έ 25 §| * ' 1 1i 0 il ¾ B W i I? ' D
^ fi ¾ $ ¾ ¾ s — §1 亩 ° 9 W g 、 '
2 ¾ if ^ ¾ ¾ D ( §1 亩 W ·(:) W fi ^!
· 4 cj 0 M ) % ^ - ^ ω c ^ ' ^ — '
' 二) ( Sfl # ¾ ¾ H ^ H ) i 鎗 * ¾ © 99 Ί c ^
9T6.0/00df/X3d CTZSC/IO OAV 画 ¾ : If )
§§ 亩 ¾: ¾ || ¾ 単 ¾ ' 9· i ^ ¾ a. ^ ¾ ¾ - □¥ 1ΐ ¾ ¾ 斜 ¾! 據 つ ° § ¾ ^ 昝 玆 # ½ ¾ ω s 、1 ;?
^ m m w ^ ' « ェ 4 乙 、 $ ^ ^
T ω コ ° (
^ in ^ 「 4 一 /! ベ ^ 」 ¾ マ ^ . α 封
^ Y ^ s^ m o ^ co ^ ^ ^ ^ ^ :) T 「 n ¾ ^ i ^
;? 2 ^ ^ ^ 嗨 目 マ ^ κ\ ¾ つ q ^
¾ 翳 ェ < 4 、 © マ ^ . ロ ' t 4· ^
^ ML \ ^ ^ m 8 m ) ^ 暂 ^ つ コ)
^ 髒 ω ェ 4 乙 Λ ' ^ ¾ Μ 01 ø ^ co 「 ; ϋ tt ω ϋ 」 ω マ ^ 口 /: 案 達 ¾ ifl ' Ύ ^ ) ^ ω Γι* ¾ £f j ( H c ΐ ¾ ) マ ^ ^ ロ 輋 g ¾ ( -
Υ ) U- W ' - νρί si ω ^ a¾ ω 「 ¾¾i ¾ s 目 」 s ^ Γ) ( m li ) マ ^ ^ ロ ^ 挲 產 S驪 。 ? ( ω τΚ ω - 4- ^ - α ^ ω ¾ ) 講 B ¾ © マ ^ A JL 籙 マ A 口 : ^ ' ^ c ¾ » ^ ¾ § ェ > 4 A ^ 敏 ェ c- 5 V ^
^ 口 ^ © 凝 ¾ © ¾ 丁 ' ェ 4 Λ $ ¾9
^ i ^ ^ ^ l 2) M| ¾ ^ Q) 98^ 1 ° ( τ つ :) τ
¾ マ ロ ^ 凝 M 鵜 ¾ 4 a? ΐ 2. 1 C 2) w m ^ w (0 m ' Ϊ) ^ ¾ a- B ¾ ¾ ^ i ) W $ ^
^> 25 ^ ^ ¾ * S ' ^ マ ^ a ^ 璨 M 鵜 ii 4 °
9T6.0/00df/X3d フ ィ ー ル ド ) に つ い て , 基 本 構 造 を 満 た す よ う に ( 複 数 の ) プ ロ グ ラ ム ( ま た は プ ロ グ ラ ム 記 述 ) を 追 力 Q す れ ば よ レ、 。 ソ フ ト ウ ェ ア の 修 正 ( ア ッ プ グ レ ー ド ) も 迅 速 に 達 成 さ れ る 。
2 . 従 来 プ ロ グ ラ ム の Lyeeプ ロ グ ラ ム へ の 再 構 築
第 19図 は , L y e eの 開 発 手 法 以 外 の 手 法 で 作 成 さ れ た 既..存 の プ ロ グ ラ ム ( 以 下 , 従 来 プ ロ グ ラ ム と い う ) を , そ の 従 来 プ ロ グ ラ ム が 達 成 す る 機 能 を 維 持 し て , Ly e eの 開 発 手 法 に 従 う 新 た な 構 造 を 持 つ プ ロ グ ラ ム に 再 構 築 ( 再 生 ) す る 処 理 の 全 体 的 な 流 れ を 示 す 流 れ 図 で あ る 。
プ ロ グ ラ ム 再 生 処 理 ( プ ロ グ ラ ム ) は , 形 式 化 処 理 ( プ ロ グ ラ ム ) 31 , 規 格 化 処 理 ( プ ロ グ ラ ム ) 32お よ び Lyee ALL処 理 ( プ ロ グ ラ ム ) 33の 順 に 実 行 さ れ る 。 こ れ ら の 処 理 の 一 部 を コ ン ピ ュ ー タ に よ る 処 理 で は な く , 手 作 業 で 行 な う こ と も で き る 。 プ ロ グ ラ ム 再 生 処 理 プ ロ グ ラ ム は C D — R O M 等 の 記 録 媒 体 に 記 録 す る こ と が で き る 。 C D — R 0 M 等 の 記 録 媒 体 に 記 録 さ れ た プ ロ グ ラ ム 再 生 処 理 プ ロ グ ラ ム が コ ン ピ ュ ー タ ( パ — ソ ナ ル ' コ ン ピ ュ ー タ , ワ ー ク ス テ ー シ ョ ン 等 ) に イ ン ス ト ー ル さ れ る と , そ の コ ン ピ ュ ー タ は プ ロ グ ラ ム 再 生 装 置 と し て 動 作 可 能 に な る 。 第 20図 に プ ロ グ ラ ム 再 生 装 置 の ハ ー ド ウ エ ア 構 成 の 一 例 を 示 す 。 プ ロ グ ラ ム 再 生 装 置 1 は C P U 2 を 含 む 。 C P U 2 に は ノ ス を 介 し て デ ー タ 入 力 を 受 け 付 け る た め の 入 力 装 置 3 ( キ ー ボ ー ド , マ ウ ス 等 ) , デ ー タ 等 を 可 視 的 に 出 力 す る た め の 表 示 装 置 4 ( C R T 表 示 装 置 , 印 字 装 置 等 ) , フ ロ ッ ピ 一 デ ィ ス ク ( F D ) に 記 録 さ れ た デ ー タ 等 を 読 取 り , か つ F D に デ ー タ 等 を 記 録 す る F D ド ラ イ ブ 5 , C D — R O M に 記 録 さ れ た デ ー タ 等 を 読 み 取 る C D — R O M ド ラ イ ブ 6 お よ び ォ ペ レ 一 テ ィ ン グ . シ ス テ ム , プ ロ グ ラ ム 再 生 処 理 プ ロ グ ラ ム , 上 述 の テ ン プ レ ー ト 等 が 記 録 さ れ た 外 部 記 憶 装 置 7 が 接 続 さ れ て い る 。 C P U 2 の 内 部 の ( ま た は C P U 2 に 接 続 さ れ た ) 内 部 メ モ リ 8 は , プ ロ グ ラ ム ' エ リ ア , ノ ' ッ フ ァ · エ リ ア 等 を 提 供 す る 。
工 場 , 事 業 所 , 家 庭 等 に お い て 用 い ら れ る コ ン ビ ュ — 夕 · シ ス テ ム に 所 定 の 機 能 を 実 現 さ せ る 場 合 , そ の 処 理 の た め の プ ロ グ ラ ム ( 従 来 プ ロ グ ラ ム ) は , 複 数 の プ ロ グ ラ ム か ら 構 成 さ れ る こ と が 多 い 。 大 規 模 シ ス テ ム で は , そ の プ ロ グ ラ ム の 数 が 数 百 に の ぼ る こ と も あ る 。 プ ロ グ ラ ム 再 生 処 理 で は , 基 本 的 に , そ の 一 つ 一 つ の プ ロ グ ラ ム を 対 象 に , 上 述 の 3 つ 処 理 ( 形 式 化 処 理 , 規 格 化 処 理 お よ び Lyee ALL処 理 ) を 行 う 。
① 形 式 化 処 理 ( ス テ ッ プ 51 )
形 式 化 処 理 で は , 従 来 プ ロ グ ラ ム の プ ロ グ ラ ム 記 述 か ら , 再 生 処 理 に 必 要 な 情 報 を 抽 出 し て テ ー ブ ル に ま と め る , 従 来 プ ロ グ ラ ム を 整 形 す る ( 構 文 を 明 確 に す る ) , 従 来 プ ロ グ ラ ム 中 に 含 ま れ る 単 語 の 属 性 ( 始 点 単 語 か , 端 点 単 語 か , 数 値 か , プ ロ グ ラ マ が 定 義 し た 単 語 か 等 ) を 判 断 す る , 処 理 経 路 図 を 作 成 す る , と い つ た 従 来 プ ロ グ ラ ム の Lye eプ ロ グ ラ ム へ の 再 構 築 ( 再 生 ) を 容 易 に す る た め の 処 理 が 行 わ れ る 。 形 式 化 処 理 の 詳 細 は 後 述 す る 。
② 規 格 化 処 理 ( ス テ ッ プ 52 )
規 格 化 処 理 で は , 従 来 プ ロ グ ラ ム 中 に 含 ま れ る 単 語 の L y e eプ ロ グ ラ ム の 構 造 上 に お け る 位 置 づ け を 判 断 す る ( 単 語 の ノ レ ッ ト へ の 割 付 け ) , L y e eの 方 法 論 ( ル ー ル ) に 従 わ せ る た め に 従 来 プ ロ グ ラ ム 中 の 命 令 文 を 書 直 す , と い っ た 処 理 が 行 わ れ る 。 ま た , Lye eプ ロ グ ラ ム を 作 成 す る た め の ツ ー ル ( Lye e ALL ) に 入 力 ( 登 録 ) す る た め の 情 報 の 作 成 も , こ の 規 格 化 処 理 に お い て 行 わ れ る 。 規 格 化 処 理 の 詳 細 は 後 述 す る 。
③ Lyee ALL処 理 ( ス テ ッ プ 53 )
Lyee A L L処 理 で は , 上 述 の 形 式 化 処 理 お よ び 規 格 化 処 理 を 経 て 得 ら れ た , 従 来 プ ロ グ ラ ム の 機 能 を 保 持 し つ つ , Lyeeプ ロ グ ラ ム の 構 造 を 満 た す の に 必 要 と さ れ る 情 報 を , Lye eプ ロ グ ラ ム の 基 本 的 な 処 理 構 造 を 表 す プ ロ グ ラ ム ( テ ン プ レ ー ト ) の 所 定 の 位 置 に 代 入 す る 処 理 が 行 わ れ る 。 Lyee ALL処 理 の 詳 細 は 後 述 す る 。
以 下 の 説 明 で は , コ ボ ル ( COBOL : COmmon Bus ines s Ori ented Language ) に よ っ て 作 成 さ れ た 従 来 プ ロ グ ラ ム ( L y e eの 開 発 手 法 に 従 わ な い 手 法 に よ っ て 作 成 さ れ た プ ロ グ ラ ム ) か ら , Lyeeプ ロ グ ラ ム ( Lyeeの 開 発 手 法 に 従 っ て 作 成 さ れ た プ ロ グ ラ ム ) を 生 成 す る 処 理 の 流 れ を 具 体 的 に 説 明 す る 。
第 21図 は コ ボ ル に よ っ て 作 成 さ れ た 従 来 プ ロ グ ラ ム の 一 例 を 示 し て い る 。 説 明 の 便 宜 上 , プ ロ グ ラ ム 文 ( 命 令 文 ) の 左 に , 後 述 す る 手 続 部 ( PROCEDURE D I V I S I ON) と そ れ 以 外 の 部 と に 分 け て , 行 番 号 を 記 す 。
は じ め に , 第 21図 に 示 す 従 来 プ ロ グ ラ ム ( コ ボ ル ' プ ロ グ ラ ム ) の 内 容 に つ い て 説 明 し て お く 。
コ ボ ル ' プ ロ グ ラ ム に は , 次 の 4 つ の 部 ( デ ィ ビ ジ ヨ ン : DIVI SION) が 含 ま れ て い る 。
( i )見 出 し 部 ( IDENT I F I CAT I ON D I VI S I ON ) 5 第 01行
( i i )環 境 部 ( ENVIRONMENT D IVI SI ON) ; 第 03行
( i i i )デ 一 夕 部 ( DATA DIVI SION) ; 第 1 1行
( iv)手 続 部 ( PROCEDURE DIVI SION) ; 第 01行
( i )見 出 し 部 ( IDENT I F I CAT I ON D IVI S I ON ) に は , プ ロ グ ラ ム 名 ( プ ロ グ ラ ム I D )が 記 述 さ れ る ( 第 02行 ; PROGURAMU- I D . AAA 1 . ) 。 こ の コ ボ ル , プ ロ グ ラ ム は 「 AAA 1」 と い う プ ロ グ ラ ム 名 ( プ ロ グ ラ ム ID ) の プ ロ グ ラ ム で あ る 。
( i i )環 境 部 ( ENVIRONMENT D IVI SI ON) に は , 構 成 節 (CONFI GURATION SECTI ON) ( 第 04行 ) と 入 出 力 節 ( IN PUT-OUTPUT SECT I ON ) ( 第 07行 ) と が 含 ま れ て い る 。 構 成 節 ( CONF I GURAT I ON SECT I ON ) に は , こ の コ ボ ル ' プ ロ グ ラ ム が 処 理 さ れ る べ き コ ン ピ ュ ー タ 名 ( 翻 訳 用 コ ン ピ ュ ー タ 名 お よ び 実 行 用 コ ン ピ ュ ー タ 名 ) が 記 述 さ れ る 。 第 21図 に 示 す 従 来 プ ロ グ ラ ム で は , 翻 訳 用 コ ン ピ ュ ー タ 名 が 「 AS400」 で あ る こ と ( 第 05行 : SOU RCE- COMPUTER . AS 400. ) お よ び 実 行 用 コ ン ピ ュ ー タ 名 が 「 AS400」 で あ る こ と ( 第 06行 : OBJECT— COMPUTER . AS 400. ) 力 s 言己 述 さ れ て い る 。 入 出 力 節 ( I NPUT-OUTPUT SECT I ON ) の フ ァ イ ル 管 理 段 落 ( F I LE- CONTROL ) ( 第 08行 ) に , コ ン ピ ュ ー タ ( 翻 訳 用 コ ン ピ ュ ー タ お よ び 実 行 用 コ ン ピ ュ ー タ ) に デ ー タ を 与 え た り , 処 理 結 果 を 出 力 す る た め の 装 置 名 ( 入 出 力 装 置 名 ) が 記 述 さ れ る 。 「 GAMEN— F」 と レ、 う フ ァ イ ル を 「 画 面 一 AAA」 と い う 入 出 力 装 置 に セ ッ 卜 す る こ と ( 第 09行 : SELECT GAM EN-F ASS I GN TO 画 面 — AAA . ) が 記 述 さ れ て い る 。 「 0 RGAN I Z AT I ON I S TRANSACT I ON . 」 ( 第 10行 ) は 「 GAMEN -F」 と い う フ ァ イ ル が ト ラ ン ザ ク シ ョ ン 処 理 を 行 う も の で あ る こ と 意 味 す る 。
( i i i )デ 一 夕 部 ( DATA D I V I S I ON ) に は , フ ァ イ ル 節 ( F I LE- SECT I ON ) ( 第 12行 ) と 作 業 場 所 節 ( WORK ING- STORAGE SECT I ON ) ( 第 19行 ) と が 含 ま れ て い る 。
フ ァ イ ル 節 ( F I LE— SECT I ON ) に は , フ ァ イ ル と , フ ア イ ル を 構 成 す る レ コ ー ド と , レ コ ー ド に 含 ま れ る 項 目 と の 関 係 が 記 述 さ れ る 。 フ ァ イ ル に は , デ ー タ べ一 ス 等 に セ ッ ト ( 記 憶 , 書 込 ) さ れ る フ ァ イ ル , 画 面 等 に 出 力 ( 表 示 ) さ れ る フ ァ イ ル , 画 面 等 か ら 入 力 さ れ る フ ァ イ ル , 帳 票 等 に 出 力 ( 表 記 ) さ れ る フ ァ イ ル 等 , 種 々 の フ ァ イ ル が あ る 。
第 21図 に 示 す 従 来 プ ロ グ ラ ム で は , 「 GAMEN -F」 と い う フ ァ イ ル は 入 出 力 装 置 「 画 面 一 AAA」 に セ ッ ト さ れ る フ ァ イ ル で あ る ( 第 09行 ) 。 す な わ ち , 表 示 装 置 の 表 示 画 面 に 表 示 さ れ る 項 目 を 扱 う フ ァ イ ル で あ る 。 こ の よ う な フ ァ イ ル の レ コ ー ド を 定 義 体 「 画 面 」 と 呼 ぶ 。 そ の 定 義 体 「 画 面 」 の 種 類 を 識 別 す る 識 別 子 ( 定 義 体 識 別 子 ) が 後 述 す る 「 GAMEN-R」 で あ る 。
「 GAMEN_F」 は 「 GAMEN- R」 と い う レ コ ー ド ( 集 団 項 目 ) を 持 ち , そ こ に 「 SH I N- CD」 , 「 SU」 , 「 TANKA」 お よ び 「 K I NGAKU」 と い う 項 目 ( 基 本 項 目 ) が 含 ま れ て い る こ と が , デ 一 夕 部 ( DATA D I V I S I ON ) の 第 13行 〜 第 18行 に 記 述 さ れ て い る 。 基 本 項 目 の 記 述 に 続 く 「 P I C X」 は , そ の 基 本 項 目 に よ っ て 扱 わ れ る べ き デ 一 夕 が 文 字 デ 一 夕 で あ る こ と を , 「 P I C S9」 は , 扱 わ れ る べ き デ ー タ が 符 号 を 伴 う 数 値 デ ー タ で あ る こ と を , そ れ そ れ 意 味 す る 。 ( ) 内 の 数 値 は 桁 数 ( 文 字 数 ) を 表 す 。
上 述 し た よ う に , 何 ら か の デ ー タ が セ ッ 卜 さ れ る デ 一 夕 · フ ィ ー ル ド ( ソ フ ト ウ ヱ ァ が 扱 う デ ー タ を 管 理 す る た め の 最 も 基 本 的 な 最 小 単 位 ) を , Lyeeで は 「 単 語 」 と 呼 ぶ 。 上 述 の フ ァ イ ル 節 ( F ILE- SECT I ON) の 記 述 か ら , 第 21図 に 示 す 従 来 プ ロ グ ラ ム に は , 「 SHIN-C D」 , 「 SU」 , 「 TANKA」 お よ び 「 K I NGAKU」 と い う 単 語 が 用 い ら れ て い る こ と が 分 か る 。 こ れ ら の 単 語 は 定 義 体 「 GAMEN-R」 に 属 し て い る 単 語 で あ る こ と が 分 か る 。
作 業 場 所 節 ( WORK I G- STORAGE SECT I ON ) に は , デ 一 夕 処 理 の 途 中 結 果 等 を 格 納 し て お く 領 域 ( 作 業 領 域 ) が 定 義 さ れ る 。 「 SHIN-TBL」 と い う デ ー タ ベ ー ス に , 「 SHIN-CD」 お よ び 「 TANKA」 の 2 つ の 領 域 が 設 け ら れ , そ の 他 に 「 END- BTN」 お よ び 「 WK」 と い う 2 っ 領 域 が 設 け ら れ て い る 。 こ れ ら の 領 域 も 何 ら か の デ ー タ が セ ッ 卜 さ れ る デ 一 夕 · フ ィ ー ル ド で あ る の で , Lyee に お い て 「 単 語 」 と し て 位 置 づ け ら れ る 。
( iv )手 続 部 ( PROCEDURE D IVI SI ON) に , 実 体 的 な 処 理 内 容 が 記 述 さ れ る 。 第 21図 に 示 す 従 来 プ ロ グ ラ ム に よ っ て 表 示 装 置 の 表 示 画 面 に 表 示 さ れ る 画 面 例 ( 商 品 受 注 画 面 ) を 第 22図 に , あ ら か じ め 用 意 さ れ る デ ー タ ベ ー ス ( 商 品 テ ー ブ ル ) の 例 を 第 23図 に , 手 続 部 ( PR OCEDURE D IVI S I ON) の 記 述 に 基 づ く 従 来 プ ロ グ ラ ム の 処 理 の 流 れ を 示 す フ ロ ー チ ャ ー 卜 を 第 24図 お よ び 第 25 図 に , そ れ そ れ 示 す 。
表 示 画 面 ( こ の 画 面 の 識 別 子 ( 定 義 体 識 別 子 ) が 「 GAMEN-R」 で あ る ) 54に は , 商 品 コ ー ド 入 力 欄 55 , 数 量 入 力 欄 56 , 単 価 表 示 欄 57 , 金 額 表 示 欄 58お よ び 終 了 ボ タ ン 59が 表 示 さ れ て い る 。 こ れ ら の 入 力 欄 お よ び 出 力 欄 に 対 応 す る デ ー タ · フ ィ ー ル ド が , そ れ ぞ れ SHIN -CD , SU, T ANKA , K I NGAKUで あ る 。 商 品 デ ー タ ベ ー ス
( 商 品 テ ー ブ ル ) 60 ( こ の デ ー タ ベ ー ス の 識 別 子 ( 定 義 体 識 別 子 ) が 「 S H I N - T B L」 で あ る ) は , 商 品 コ ー ド
( SHI N-CD ) お よ び 単 価 ( TANKA) の 項 目 を 含 ん で い る 第 21図 の 従 来 プ ロ グ ラ ム が 実 行 さ れ る と , 初 期 化 処 理 が 行 わ れ た 後 ( ス テ ッ プ 61 ) , GAMEN-F ( 表 示 画 面 上 に 画 面 表 示 す る た め の フ ァ イ ル ) が 読 み 込 ま れ る ( ス テ ッ プ 62 ) 。 表 示 装 置 の 表 示 画 面 に , 第 21図 に 示 す 画 面 54が 表 示 さ れ る 。
表 示 画 面 54上 の 終 了 ボ タ ン 59は , 従 来 プ ロ グ ラ ム の 処 理 を 終 了 さ せ る 場 合 に ク リ ッ ク さ れ る 。 終 了 ボ タ ン 59が ク リ ッ ク さ れ る と , 従 来 プ ロ グ ラ ム の 処 理 は 終 了 す る ( ス テ ッ プ 63で YES , ス テ ヅ プ 72) 。
入 力 装 置 ( キ ー ボ ー ド 等 ) の エ ン タ ー ' キ ー が 押 下 さ れ る と , 表 示 画 面 54の 商 品 コ ー ド 入 力 欄 55お よ び 数 量 入 力 欄 56に デ ー タ 入 力 さ れ て い る か ど う か が 判 断 さ れ る ( ス テ ッ プ 63で NO, ス テ ッ プ 64) 。 第 21図 に 示 す 従 来 プ ロ グ ラ ム は , 商 品 コ ー ド 入 力 欄 55お よ び 数 量 入 力 欄 56に デ 一 夕 が 入 力 さ れ て い る こ と を , 一 連 の 処 理 の 前 提 と す る 。 こ の た め , 商 品 コ ー ド 入 力 欄 55ま た は 数 量 入 力 欄 56の 少 な く と も い ず れ か 一 方 に デ 一 夕 入 力 が 行 わ れ て い な い 場 合 , エ ラ ー 処 理 が 行 わ れ る ( ス テ ヅ プ 64で NO, ス テ ッ プ 73 ; 表 示 画 面 54の 金 額 表 示 欄 58 に 「 99999」 が 表 示 さ れ る ) 。
表 示 画 面 54の 商 品 コ ー ド 入 力 欄 55お よ び 数 量 入 力 欄 56に デ 一 夕 入 力 さ れ て い る 場 合 ( ス テ ッ プ 64で YE S ) , 入 力 さ れ た 商 品 コ ー ド お よ び 数 量 を 表 す デ ー タ が ヮ — ク · メ モ リ に セ ッ ト さ れ る 。 ま た , 入 力 さ れ た 商 品 コ 一 ド に 基 づ い て 商 品 テ ー ブ ル 60が 参 照 さ れ る ( ス テ ッ プ 65 ) 。
入 力 デ 一 夕 ( 商 品 コ ー ド , 数 量 ) が 適 切 な デ ー タ で あ る か ど う か が 判 断 さ れ る ( ス テ ヅ プ 66 ) 。 た と え ば , 上 述 の よ う に , 商 品 コ ー ド 入 力 欄 55は デ ー タ · フ ィ — ル ド 「 S H I N - C D」 に 対 応 し て お り ( 商 品 コ ー ド 入 力 欄 55に 入 力 さ れ た デ ー タ が デ ー タ · フ ィ ー ル ド 「 S H I N -CD」 に 格 納 さ れ る ) , 「 SH I N- CD」 に 格 納 さ れ る べ き デ ー タ は 5 文 字 の 文 字 デ ー タ で な け れ ば な ら な い こ と が あ ら か じ め 定 め ら れ て い る ( デ 一 夕 部 ( DATA D I V I S I ON ) の 第 15行 ) 。 商 品 コ 一 ド 入 力 欄 55に 数 値 デ ー タ が 入 力 さ れ た り , 商 品 テ ー ブ ル 60の 商 品 コ ー ド 欄 に 存 在 し な い コ ー ド が 入 力 さ れ た り , 数 量 入 力 欄 56に 文 字 デ 一 夕 が 入 力 さ れ た り す る と , エ ラ 一 処 理 が 行 わ れ る ( ス テ ヅ プ 66で NO , ス テ ッ プ 74 ; 表 示 画 面 54の 単 価 表 示 欄 57に 「 99999」 が 表 示 さ れ る ) 。
入 力 デ ー タ が 適 切 な 場 合 に は ( ス テ ッ プ 66で Y E S ) , 商 品 コ 一 ド 入 力 欄 55に 入 力 さ れ た 商 品 コ ー ド に 対 応 す る 商 品 の 単 価 ( 商 品 テ ー ブ ル 60を 参 照 ) と , 数 量 入 力 欄 56に 入 力 さ れ た 数 量 と の 乗 算 結 果 が , ワ ー ク · メ モ リ に セ ッ ト さ れ る ( ス テ ッ プ 67 ) 。
セ ヅ ト さ れ た 乗 算 結 果 が 10, 000 ( 円 ) を 超 え て い る か ど う か が 判 断 さ れ る ( ス テ ッ プ 68 ) 。 乗 算 結 果 が 10 , 000円 を 超 え て い れ ば ( ス テ ッ プ 68で YE S ) , 算 出 金 額 を , 乗 算 結 果 ( 商 品 単 価 X 数 量 ) に 0 . 8を 乗 算 し た 結 果 と す る ( ス テ ッ プ 69 ) 。 表 示 画 面 54の 単 価 表 示 欄 57に は 商 品 の 単 価 が , 金 額 表 示 欄 58に は 算 出 金 額 が , そ れ ぞ れ 表 示 さ れ る ( ス テ ッ プ 71 ) 。 乗 算 結 果 が 10, 0 00円 以 下 で あ れ ば ( ス テ ッ プ 68で NO ) , 金 額 表 示 欄 58 に は , 乗 算 結 果 に 0 . 9を 乗 算 し た 結 果 が 表 示 さ れ る ( ス テ ッ プ 70, ス テ ッ プ 71 ) 。
以 下 , 第 21図 に 示 す 従 来 プ ロ グ ラ ム を , そ の 機 能 を 維 持 し つ つ , LYE Eプ ロ グ ラ ム に 再 構 築 ( 再 生 ) す る 処 理 の 流 れ を 具 体 的 に 説 明 す る 。 上 述 し た よ う に , プ ロ グ ラ ム 再 生 処 理 は , 形 式 化 処 理 , 規 格 化 処 理 , L ye e A LL処 理 の 順 に 行 わ れ る ( 第 19図 ) 。
第 26図 は , 形 式 化 処 理 ( ス テ ッ プ 51 ) の 処 理 の 内 容 を 詳 細 に 示 す フ ロ ー チ ャ ー ト で あ る 。 こ れ ら の 処 理 の 多 く は コ ン ピ ュ ー タ に よ り 自 動 的 に 行 う こ と が で き る 従 来 プ ロ グ ラ ム の 記 述 に 基 づ い て , コ マ ン ド ' テ 一 ブ ル ( 全 体 ) が 作 成 さ れ る ( ス テ ッ プ 81 ) 。 第 27図 は , 第 21図 に 示 す 従 来 プ ロ グ ラ ム ( コ ボ ル ' プ ロ グ ラ ム ) の 記 述 に 基 づ い て 作 成 さ れ た コ マ ン ド ' テ ー ブ ル ( 全 体 ) を 示 す も の で あ る 。
コ マ ン ド . テ ― ブ ノレ ( 全 体 ) は , シ ス テ ム を 稼 働 さ せ る す べ て の プ ロ グ ラ ム を 対 象 と し て 作 成 さ れ る 。 こ こ で は , 説 明 の 便 宜 の た め , 第 21図 に 示 す 従 来 プ ロ グ ラ ム が シ ス テ ム を 稼 働 さ せ る プ ロ グ ラ ム ( プ ロ グ ラ ム 全 体 ) で あ る と す る 。
コ マ ン ド ' テ ー ブ ル ( 全 体 ) は , 定 義 体 種 別 , コ マ ン ド , 命 令 種 別 ( プ ロ グ ラ ム 言 語 ) , 条 件 , 外 部 フ ァ ィ ル , 入 出 力 区 分 お よ び ノ レ ッ ト 所 在 の 欄 を 備 え て い る 。
「 定 義 体 種 別 」 欄 に は , 従 来 プ ロ グ ラ ム が 規 定 し て い る ( 従 来 プ ロ グ ラ ム の 処 理 に よ っ て 用 い ら れ る ) 定 義 体 の 種 類 を 表 す デ ー タ が 格 納 さ れ る 。 定 義 体 と は 上 述 の よ う に コ ン ピ ュ ー タ が 扱 う 入 出 力 媒 体 を 意 味 し , 画 面 , デ ー タ ベ ー ス , フ ァ イ ル 等 が 含 ま れ る 。 従 来 プ ロ グ ラ ム の 環 境 部 ( ENVIRONMENT D IVI SI ON) の 入 出 力 節 ( INPUT-OUTPUT SECTI ON) の 記 述 お よ び デ 一 夕 部 ( DATA D IVI S I ON ) の 記 述 か ら , 従 来 プ ロ グ ラ ム が 規 定 し て い る 定 義 体 の 種 類 が 把 握 さ れ る 。 も ち ろ ん , た と え ば , 一 つ の シ ス テ ム に お い て 異 な る 種 類 の 画 面 が 用 い ら れ て い る よ う な 場 合 ( そ の よ う な 記 述 の 従 来 プ ロ グ ラ ム の 場 合 ) に は , 「 画 面 1 」 , 「 画 面 2 」 と い つ た 画 面 の 種 類 ま で 区 別 す る こ と が で き る デ ー タ が 記 述 さ れ る 。 デ ー タ ベ ー ス ( D B ) に つ い て も 同 様 で あ る
「 コ マ ン ド 」 欄 に は , 従 来 プ ロ グ ラ ム に お い て 規 定 さ れ て い る 入 出 力 装 置 ( 定 義 体 ) を , 従 来 プ ロ グ ラ ム の 記 述 中 か ら 見 つ け る た め に 用 い ら れ る コ マ ン ド が 格 納 さ れ る 。
「 命 令 種 別 」 欄 に は , 後 述 す る 「 条 件 」 欄 や 「 入 出 力 装 置 」 欄 に 記 述 さ れ る 入 出 力 装 置 の 検 索 の た め の 記 述 が , ど の よ う な プ ロ グ ラ ム 言 語 に つ い て の 記 述 ( 取 り 決 め ) で あ る か を 表 す 。
「 条 件 」 欄 に は , 定 義 体 を 取 扱 う 入 出 力 装 置 を 従 来 プ ロ グ ラ ム 中 の 記 述 か ら 見 つ け る た め の 条 件 が 記 述 さ れ る 。 「 ASS I GN TO 画 面 」 は , 従 来 プ ロ グ ラ ム 中 の 「 ASS I GN TO 画 面 」 と い う 記 述 の 次 に , 定 義 体 「 画 面 」 に つ い て の 入 出 力 装 置 名 が 記 述 さ れ る こ と を 意 味 す る 。 「 FR0M」 は , 「 FR0M」 と い う 記 述 の 次 に 定 義 体 「 D B 」 に つ い て の 入 出 力 装 置 名 が 記 述 さ れ る こ と を 意 味 す る ( コ ボ ル · プ ロ グ ラ ム の 取 決 め で あ る ) 。 「 入 出 力 装 置 」 欄 に は , コ ボ ル · プ ロ グ ラ ム に お い て ASS I GN 文 節 に は フ ア イ ル 名 が , FROM文 節 に は デ ー タ ベ ー ス 名 が 記 述 さ れ る こ と が 記 述 さ れ て い る 。
「 入 出 力 区 分 」 欄 ( 入 / 出 ) に は , 「 定 義 体 種 別 」 の 欄 に 格 納 さ れ て い る 定 義 体 が , 入 力 に 関 す る 定 義 体 で あ る か 出 力 に 関 す る 定 義 体 で あ る か を 示 す デ 一 夕 (
「 入 」 ま た は 「 出 」 ) が 格 納 さ れ る 。
「 ノ、' レ ッ ト 所 在 」 欄 に は , 「 定 義 体 種 別 」 欄 に 格 納 さ れ て い る デ 一 夕 お よ び 「 コ マ ン ド 」 欄 に 格 納 さ れ て い る デ ー タ ( ま た は 「 入 出 力 区 分 」 欄 に 格 納 さ れ て い る デ 一 夕 ) に 基 づ い て , パ レ ッ ト の 種 別 が 格 納 さ れ る 。 「 定 義 体 種 別 」 欄 に 格 納 さ れ る 定 義 体 の 種 類 に つ て 「 Τ 0 」 , 「 Τ 1 」 ま た は 「 Κ 」 の い ず れ で あ る か が 決 定 さ れ る 。 「 コ マ ン ド 」 欄 に 格 納 さ れ て い る 命 令
( ま た は 「 入 出 力 区 分 」 欄 に 格 納 さ れ て い る 区 分 ) に よ っ て 「 W 0 4 」 ま た は 「 W 0 2 」 の い ず れ で あ る か が , 決 定 さ れ る 。 た と え ば , 定 義 体 「 画 面 」 は オ ン ラ ィ ン 処 理 T 0 に お い て 取 扱 わ れ る 定 義 体 で あ る 。 ま た 定 義 体 「 画 面 」 は 入 力 ( 商 品 コ ー ド の 入 力 , 数 量 の 入 力 ) と 出 力 ( 単 価 の 出 力 , 金 額 の 出 力 ) と に 用 い ら れ て い る 。 定 義 体 種 別 が 「 画 面 」 で あ っ て , 入 出 力 区 分 が 「 入 」 で あ れ ば 「 T 0 W 0 2 」 が , 入 出 力 区 分 が 「 出 」 で あ れ ば 「 T 0 W 0 4 」 が , そ れ ぞ れ 格 納 さ れ る 。 コ マ ン ド ' テ ー ブ ル ( 全 体 ) は , 技 術 者 が 従 来 プ ロ グ ラ ム の 記 述 に 基 づ い て 作 成 し て も よ い <
次 に 従 来 プ ロ グ ラ ム の 整 理 が 行 わ れ る ( ス テ ッ プ 82 ) 。 第 21図 に 示 す 従 来 プ ロ グ ラ ム は , 従 来 プ ロ グ ラ ム の 整 理 の た め の 処 理 ( ス テ ッ プ 82 ) を 経 た ( 整 理 を 終 え た , ま た は 整 理 の 必 要 の な い ) プ ロ グ ラ ム で あ る の で , 従 来 プ ロ グ ラ ム の 整 理 の た め の 処 理 ( ス テ ッ プ 82 ) に つ い て の 詳 細 は 後 述 す る 。
コ マ ン ド ' テ ー ブ ル ( プ ロ グ ラ ム 別 ) が 作 成 さ れ る ( ス テ ッ プ 83 ) 。 コ マ ン ド ' テ 一 ブ ル ( プ ロ グ ラ ム 別 ) を 第 28図 に 示 す 。
第 28図 に 示 す よ う に , コ マ ン ド ' テ ー ブ ル ( プ ロ グ ラ ム 別 ) は , プ ロ グ ラ ム I D , コ マ ン ド , 外 部 フ ァ イ ル , 定 義 体 , 入 出 力 区 分 お よ び パ レ ッ ト 所 在 の 欄 を 備 え て い る 。
「 プ ロ グ ラ ム ID」 の 欄 に は , 従 来 プ ロ グ ラ ム の 見 出 し 部 ( I DENT I F I CAT I ON D IV I S I ON ) に 記 述 さ れ た プ ロ グ ラ ム 名 ( プ ロ グ ラ ム I D) が 格 納 さ れ る 。 シ ス テ ム を 稼 働 さ せ る プ ロ グ ラ ム は こ の プ ロ グ ラ ム 名 ( プ ロ グ ラ ム ID ) に よ っ て 特 定 す る こ と が で き る 。 プ ロ グ ラ ム 名 ( プ ロ グ ラ ム ID) ご と に , コ マ ン ド ' テ ー ブ ル ( プ ロ グ ラ ム 別 ) が 作 成 さ れ る 。
「 コ マ ン ド 」 欄 に は , 上 述 の プ ロ グ ラ ム IDに よ っ て 特 定 さ れ る 従 来 プ ロ グ ラ ム の 手 続 部 ( PROCEDURE D I V I S I ON ) 中 に 現 れ る , デ ー タ の 入 出 力 に 関 連 す る 命 令 が 格 納 さ れ る 。
「 入 出 力 装 置 」 欄 に は , 上 述 の コ マ ン ド ' テ ー ブ ル ( 全 体 ) の 「 条 件 」 欄 の 記 述 に し た が っ て , 従 来 プ ロ グ ラ ム か ら 検 索 さ れ る 入 出 力 装 置 名 を 表 す デ ー タ が 記 述 さ れ る 。
「 定 義 体 」 欄 に は , デ ー タ 部 ( DATA D I V I S I ON ) お よ び 手 続 部 ( PRC ED URE D I V I S I ON ) の 記 述 に 基 づ い て , 「 コ マ ン ド 」 欄 に 格 納 さ れ た コ マ ン ド に よ っ て 処 理 さ れ る 定 義 体 ( 画 面 , D B 等 ) の 定 義 体 名 が 格 納 さ れ る 。
た と え ば , 第 21図 に 示 す 従 来 プ ロ グ ラ ム に お い て , 手 続 部 ( PRCEDURE D I V I S I ON ) の 第 06行 目 の コ マ ン ド 「 WR I TE」 は 「 GAMEN-R」 に 対 す る 処 理 を 行 う 命 令 で あ る の で , コ マ ン ド 「 WR I TE」 に 対 応 す る 「 定 義 体 」 の 欄 に 「 GAMEN-R」 が 格 納 さ れ る 。
「 入 出 力 区 分 」 欄 お よ び 「 ノ、' レ ツ ト 所 在 」 欄 に つ い て は , 上 述 の コ マ ン ド · テ ー ブ ル ( 全 体 ) と 同 じ で あ る 。
コ マ ン ド . テ ー ブ ル ( プ ロ グ ラ ム 別 ) は , コ マ ン ド
' テ ー ブ ル ( 全 体 ) に 基 づ い て コ ン ピ ュ ー タ に 作 成 さ せ る こ と が で き る 。 も ち ろ ん , 従 来 プ ロ グ ラ ム の 記 述 に 基 づ い て , 技 術 者 が 作 成 す る よ う に し て も よ レ、 。 処 理 経 路 図 が 作 成 さ れ る ( ス テ ッ プ 46 ) 。 第 29図 は , 第 21図 に 示 す 従 来 プ ロ グ ラ ム の 記 述 に 基 づ い て 作 成 さ れ た 処 理 経 路 図 を 示 す も の で あ る 。 作 成 さ れ た コ マ ン ド ' テ ー ブ ル ( プ ロ グ ラ ム 別 ) か ら , 従 来 プ ロ グ ラ ム に は , T O と T 1 の 基 本 構 造 が 含 ま れ て い る こ と が 把 握 さ れ る 。 ま た , 従 来 プ ロ グ ラ ム に は , 一 般 に そ の プ ロ グ ラ ム を 作 成 し た プ ロ グ ラ マ が 定 義 し た 単 語 ( デ 一 夕 · フ ィ ー ル ド ) が 用 い ら れ て い る の で , K の 基 本 構 造 も 存 在 す る も の と 考 え る 。 さ ら に , T O の 基 本 構 造 お よ び T 1 の 基 本 構 造 に は , そ れ そ れ エ ラ 一 処 理 を 行 う 基 本 構 造 ( K の 一 態 様 で あ る ) も 付 随 す る も の と 考 え る 。 T O , T 1 の そ れ そ れ に つ い て , W 0 4 ノ レ ッ ト , W 0 3 ノ、 レ ッ ト お よ び W 0 2 パ レ ッ ト か ら 構 成 さ れ る 基 本 構 造 ( 循 環 構 造 ) を 描 画 し , こ れ ら の 基 本 構 造 を 結 び 付 け る ( T O の 基 本 構 造 の W 0 3 ノ レ ッ ト ( W 0 4 P サ ブ ' ノ レ ッ ト ) と T 1 の 基 本 構 造 の W 0 4 ノ レ ツ 卜 と の 間 を 経 路 を 表 す 線 に よ っ て 結 ぶ ) 。 K の 基 本 構 造 を 描 画 し , T O の 基 本 構 造 と 結 び つ け る 。 T O の 基 本 構 造 お よ び T 1 の 基 本 構 造 の そ れ ぞ れ に つ い て の エ ラ ー 処 理 の K の 基 本 構 造 を 描 画 し , T O の 基 本 構 造 お よ び T 1 の 基 本 構 造 に そ れ そ れ 結 び つ け る 。 第 29図 に 示 す よ う な 処 理 経 路 図 が 作 成 さ れ る 。
作 成 し た 処 理 経 路 図 か ら 抽 出 さ れ る 情 報 が , テ ー プ ル ( 処 理 経 路 図 情 報 テ ー ブ ル ) に ま と め ら れ る 。 第 30 図 は , 処 理 経 路 図 情 報 テ ー ブ ル を 示 す も の で あ る 。 処 理 経 路 図 情 報 テ ー ブ ル に は , 現 プ ロ グ ラ ム ID ( 現 PGM ID) , 処 理 経 路 図 ID , 連 鎖 関 数 I D , ノ、。 レ ッ ト ID , 経 路 要 素 ID , 次 ノ レ ッ ト ID , 入 出 力 コ マ ン ド 要 素 ID , コ マ ン ド お よ び 定 義 体 の 欄 が 設 け ら れ て い る 。
「 現 プ ロ グ ラ ム I D ( 現 P G M ID ) 」 は , 従 来 プ ロ グ ラ ム ご と に 付 さ れ る I D で あ る 。 複 数 の 従 来 プ ロ グ ラ ム を Lyeeプ ロ グ ラ ム に 再 生 す る 場 合 に , こ の 現 プ ロ グ ラ ム I D に よ っ て そ の そ れ そ れ が 識 別 さ れ る 。
「 処 理 経 路 図 I D 」 は , 基 本 構 造 ご と に 付 さ れ る I D で あ る 。 上 述 の よ う に , 基 本 的 に は , 基 本 構 造 ( 循 環 構 造 ) ご と に ノ、' レ ツ ト 連 鎖 関 数 プ ロ グ ラ ム が 設 け ら れ る 。 基 本 構 造 の そ れ そ れ を 統 括 的 に 制 御 す る パ レ ツ ト 連 鎖 関 数 プ ロ グ ラ ム を 識 別 す る I D が , 連 鎖 関 数 I D の 欄 に 格 納 さ れ る 。
「 ノ レ ツ ト I D 」 は , 基 本 構 造 を 構 成 す る パ レ ツ ト の そ れ ぞ れ を 識 別 す る た め の I D で あ る 。 複 数 の 基 本 構 造 に 含 ま れ る ノ レ ッ ト ( W 0 4 ノ、" レ ッ ト , W 0 2 パ レ ッ ト お よ び W 0 3 ノ レ ッ ト ) の そ れ ぞ れ を 識 別 す る こ と が で き る よ う に , I D が 付 与 さ れ る 。
「 経 路 要 素 I D 」 は , ノ レ ッ ト I D に よ っ て 識 別 さ れ る ノ レ ッ 卜 か ら の び る 経 路 を 識 別 す る I D で あ る 。 た と え ば , 第 29図 に 示 す 処 理 経 路 図 に お い て , T O W 0 3 ノ、' レ ッ ト ( T 0 W 0 4 P サ ブ · ノ、' レ ッ ト ) か ら の び る 経 路 は , T 0 W 0 4 ノ、。 レ ッ ト と , T 1 W 0 4 ノ レ ッ ト と , K W 0 4 ノ レ ッ ト と , K ( Err ) W 0 4 ノ レ ッ ト と 結 付 レ、 て い る ( 第 29図 に お い て 符 号 A ( 分 岐 点 A ) で 示 す ) 。 こ れ ら の 経 路 の そ れ そ れ に つ い て I D 力 s 付 与 さ れ る ( Rute- 1, Rute-2 , Rute-3お よ び Rute— 4
) o
「 次 ノ レ ッ ト I D 」 は , 経 路 要 素 I D に よ っ て 識 別 さ れ る 経 路 に よ っ て , 「 ノ レ ツ ト I D 」 欄 に 格 納 さ れ て い る ノ レ ツ ト I D に よ っ て 特 定 さ れ る ノ レ ツ 卜 に 結 び 付 い て い る ノ レ ッ ト ( 次 ノ、 ' レ ッ ト ) を 識 別 す る I D で あ る 。 処 理 経 路 図 に 描 か れ る パ レ ツ 卜 の そ れ ぞ れ に 上 述 の パ レ ツ ト I D が 付 さ れ て い る の で , こ の ノ レ ツ ト I D を 用 い て , 経 路 要 素 I D に よ っ て 識 別 さ れ る 経 路 に 結 び つ い て い る ノ レ ッ ト ( 次 ノ レ ッ ト ) が 表 さ れ る 。
「 入 出 力 コ マ ン ド 要 素 I D 」 は , ノ レ ッ ト I D に よ つ て 識 別 さ れ る ノ レ ッ ト が , 画 面 , デ ー タ べ 一 ス , フ ア イ ル 等 に ア ク セ ス す る ( デ ー タ を 読 む , デ ー タ を 書 込 む 等 ) ノ レ ッ ト で あ る 場 合 に , そ の ノ レ ッ ト が デ 一 夕 を 読 む ( 入 力 す る ) た め の 処 理 を 行 う パ レ ッ ト で あ る か , デ 一 夕 を 書 込 む ( 出 力 す る ) た め の 処 理 を 行 う ノ レ ツ ト で あ る か を 識 別 す る I D で あ る 。 デ ー タ を 読 む ( 入 力 す る ) た め の 処 理 を 行 う パ レ ッ 卜 に は 「 WRI T E- 1」 が , デ 一 夕 を 書 込 む ( 出 力 す る ) た め の 処 理 を 行 う ノ レ ツ 卜 に は 「 READ- 1」 が , そ れ ぞ れ 格 納 さ れ る 。 「 コ マ ン ド 」 欄 に , 従 来 プ ロ グ ラ ム の 手 続 部 ( PR0C EDURE D IVI SI ON) に お い て 用 い ら れ て い る デ ー タ の 入 出 力 の た め の 具 体 的 な 命 令 ( コ マ ン ド ) が 格 納 さ れ る
「 定 義 体 」 欄 に は , 上 述 の 「 コ マ ン ド 」 欄 に 格 納 さ れ て い る コ マ ン ド に よ っ て 取 扱 わ れ る 定 義 体 名 が 格 納 さ れ る 。
第 26図 に 戻 っ て , 従 来 プ ロ グ ラ ム お よ び コ マ ン ド · テ ー ブ ル ( プ ロ グ ラ ム 別 ) に 基 づ い て , ノ、。 レ ツ ト 連 鎖 関 数 プ ロ グ ラ ム が 取 扱 う べ き 命 令 文 ( プ ロ グ ラ ム 文 ) の 特 定 処 理 ( パ レ ツ ト 連 鎖 関 数 取 扱 命 令 文 特 定 処 理 ; ス テ ッ プ 84) お よ び 第 1 次 座 標 決 定 処 理 ( ス テ ッ プ 85 ) が 行 わ れ る 。 こ れ ら の 処 理 結 果 が 次 に 示 す リ ー · ベ ル ト ( Lyee Be l t ) に 反 映 さ れ る 。 第 31図 は 第 1 次 座 標 決 定 処 理 の 詳 細 を 示 す フ ロ ー チ ャ ー ト を , 第 32図 は リ ー · ベ ル ト の 一 例 ( 第 21図 に 示 す 従 来 プ ロ グ ラ ム か ら 作 成 さ れ る リ 一 . ベ ル ト ) を , そ れ ぞ れ 示 し て い る リ — . ベ ル ト ( Lyee Be l t ) ( 第 32図 ) に は , 行 番 号 記 述 欄 , 命 令 種 別 記 述 欄 , 連 鎖 関 数 記 述 欄 お よ び 従 来 プ ロ グ ラ ム の 手 続 部 ( PROCEDURE D IVI SI ON) が 記 述 さ れ た プ ロ グ ラ ム 記 述 欄 を 含 む ( こ れ ら の 情 報 が 記 述 さ れ た テ 一 ブ ル が , リ 一 ベ ル ト ( Lyee Be l t ) で あ る ) 。 パ レ ッ ト 連 鎖 関 数 取 扱 命 令 文 特 定 処 理 ( ス テ ッ プ 84) の 結 果 が , 連 鎖 関 数 記 述 欄 に 記 述 さ れ る 。 第 1 次 座 標 決 定 処 理 ( ス テ ッ プ 85 ) の 結 果 が , プ ロ グ ラ ム 記 述 欄 に 記 述 さ れ る 。
「 命 令 種 別 」 記 述 欄 に は , プ ロ グ ラ ム 記 述 欄 に 記 述 さ れ た 命 令 文 ( プ ロ グ ラ ム 文 ) に つ い て , そ こ に 含 ま れ て い る 所 定 の 命 令 の 種 類 が 記 述 さ れ る 。 プ ロ グ ラ ム 記 述 欄 に 記 述 さ れ た 命 令 文 に 含 ま れ て い る 命 令 が , 端 点 単 語 に 対 す る 処 理 を 行 う 命 令 ( 端 点 命 令 ) で あ る か , I F文 で あ る か ( I F ) で あ る か , ま た は そ の 他 の デ ー 夕 入 出 力 に 関 す る 命 令 で あ る か ( C M D ) の 区 別 が 記 述 さ れ る 。 た と え ば , 従 来 プ ロ グ ラ ム の 手 続 部 ( PROCED URE D IVI SION) に 記 述 さ れ た 命 令 文 の 第 14行 目 の 「 M0 VE 99999 TO K I NGAKU OF GAMEN - R」 は , 端 点 単 語 「 KI NGAKU ( OF GAMEN-R ) 」 に 対 す る 処 理 を 行 う プ ロ グ ラ ム 文 で あ る 。 第 14行 目 に 対 応 す る 命 令 種 別 記 述 欄 に 「 端 点 命 令 」 ( 端 点 命 令 で あ る こ と を 表 す デ ー タ ) が 記 述 さ れ る 。
「 連 鎖 関 数 」 記 述 欄 に は , パ レ ツ ト 連 鎖 関 数 取 扱 命 令 文 特 定 処 理 ( ス テ ッ プ 84) の 処 理 結 果 が 記 述 さ れ る 。 こ の 処 理 は , 上 述 の ノ レ ツ ト 連 鎖 関 数 プ ロ グ ラ ム が 取 扱 う べ き 命 令 文 ( プ ロ グ ラ ム 文 ) を 特 定 す る 処 理 で あ る 。 定 義 体 ( 画 面 等 ) に 対 す る 物 理 的 な 処 理 を 行 う 命 令 文 に , 所 定 の マ ー ク が 対 応 付 け ら れ て 格 納 さ れ る 。 マ ー ク が 付 与 さ れ た 命 令 文 は , ノ レ ッ ト 連 鎖 関 数 プ ロ グ ラ ム に お い て ( ノ レ ツ ト 連 鎖 関 数 プ ロ グ ラ ム の プ ロ グ ラ ム 記 述 の 一 部 と し て ) 用 い ら れ る べ き 命 令 文 で あ る こ と を 意 味 す る 。
プ ロ グ ラ ム 記 述 欄 の 従 来 プ ロ グ ラ ム の 手 続 部 ( PR0C EDURE D IVI SI ON) の 記 述 中 に , 第 1 次 座 標 決 定 処 理 ( ス テ ッ プ 85 ) に よ る 処 理 結 果 が 追 記 さ れ る 。 以 下 , 第 31図 を 参 照 し て , 第 1 次 座 標 決 定 処 理 の 詳 細 を 説 明 す る 。 第 1 次 座 標 決 定 処 理 は , 基 本 的 に コ ン ピ ュ ー タ に よ っ て 行 わ れ る 。 も ち ろ ん , こ の 処 理 の 一 部 を 技 術 者 に 行 わ せ る よ う に し て も よ い 。
従 来 プ ロ グ ラ ム の 手 続 部 ( PROCEDURE DIVI SI ON) に 記 述 さ れ て い る 従 来 プ ロ グ ラ ム の 命 令 文 の 1 行 目 が , プ ロ グ ラ ム 再 生 装 置 1 の C P U 2 ( ま た は 内 部 メ モ リ 8 , 記 憶 手 段 ) に 読 込 ま れ る ( ス テ ッ プ 101, 103 ) 。 プ ロ グ ラ ム 再 生 装 置 1 の カ ウ ン 夕 が イ ン ク リ メ ン ト さ れ る 。
C P U 2 に 読 込 ま れ た 命 令 文 中 に , 単 語 の 記 述 が 含 ま れ て い る か ど う か ( 単 語 が 含 ま れ て い る か ど う か ) が 判 断 さ れ る ( ス テ ッ プ 104 ) 。 命 令 文 中 に 単 語 が 含 ま れ て い る か ど う か は , 読 込 ま れ た 命 令 文 中 に 含 ま れ る 文 字 列 の 一 部 に , 従 来 プ ロ グ ラ ム の 手 続 部 ( DATA D I V I S I ON ) 中 に 記 述 さ れ た 単 語 を 表 す 文 字 列 と 同 じ 文 字 列 が 含 ま れ て い る か ど う か で 判 断 す る こ と が で き る
C P U 2 に 読 込 ま れ た 命 令 文 中 に 単 語 が 含 ま れ て い な い 場 合 に は , カ ウ ン タ が イ ン ク リ メ ン ト さ れ , 次 の 行 の 命 令 文 が C P U 2 に 読 込 ま れ る ( ス テ ッ プ 104 で NO , ス テ ッ プ 105, ス テ ッ プ 103 ) 。
命 令 文 中 に 単 語 の 記 述 が 含 ま れ て い る 場 合 ( ス テ ツ プ 104 で YE S ) , そ の 単 語 が 定 義 体 ( 画 面 , フ ァ イ ル , D B ( デ ー タ ベ ー ス ) 等 ) に 属 す る 単 語 ( 定 義 体 単 語 ) で あ る か , 数 値 ( 値 ) で あ る か , 定 義 体 に 属 さ ず , か つ 数 値 で も な い 単 語 ( 一 般 に は , 従 来 プ ロ グ ラ ム を 作 成 し た プ ロ グ ラ マ が 作 成 し た 単 語 ; こ れ を ワ ー ク と 呼 ぶ ) で あ る か が 判 別 さ れ る 。 ま た , 命 令 文 中 の 単 語 が 定 義 体 単 語 で あ る 場 合 に は , い ず れ の 定 義 体 に 属 す る 単 語 で あ る か ま で 判 別 さ れ る ( ス テ ッ プ 106 ) o 命 令 文 中 に 含 ま れ る 単 語 が ど の よ う な 単 語 で あ る か の 判 断 で は , デ 一 夕 部 ( DATA D I V I S I ON ) の 記 述 と , 環 境 部 ( ENVI RONMENT D I V I S I ON ) の フ ア イ ノレ 節 ( F I LE -CONTROL ) の 記 述 と が 参 照 さ れ る 。 た と え ば , 第 14行 目 の 「 M0VE 99999 TO K I NGAKU OF GAMEN - R」 が 読 込 ま れ る と , そ の 命 令 文 中 に は 「 99999」 と , 単 語 「 K I NGA KU ( OF GAMEN_R )」 が 含 ま れ て い る こ と が 分 か る 。 「 9 9999」 は 数 値 ( 値 ) で あ る こ と が 分 か る 。 ま た 単 語 「 K I NGAKU ( OF GAMEN - R )」 は , 「 K I NGAKU」 に 続 く 定 義 体 に つ い て の 記 述 ( 「 0F GAMEN-R」 ) と , デ ー タ 部 ( DATA D I V I S I ON ) の 記 述 ( 「 FD GAMEN_R」 お よ び 「 01 GAMEN— F」 ) と , 環 境 部 ( ENV I RONMENT D I V I S I ON ) の フ ァ ィ ノレ 節 ( F I LE -CONTROL ) の 言 3 述 ( 「 SELECT GAMEN 一 F ASSI GN TO 画 面 一 AAA」 ) ら , 「 GAMEN— R」 と い う 画 面 定 義 体 に 属 す る 単 語 で あ る こ と が 分 か る 。 「 9999 9」 に は 数 値 ( 値 ) で あ る こ と を 表 す 識 別 子 ( 第 1 次 座 標 ) が , 単 語 「 K I NGAKU ( OF GAMEN-R) 」 に は , 画 面 定 義 体 に 属 す る 単 語 で あ る こ と を 表 す 識 別 子 ( 第 1 次 座 標 , 「 画 面 」 ) が , そ れ ぞ れ 付 与 さ れ る 。 こ の よ う に し て , 第 1 次 座 標 が リ ー ' ベ ル ト の プ ロ グ ラ ム 記 述 欄 中 に 追 記 さ れ る ( 「 M0VE 99999 ( 値 ) TO K I NGAK U OF GAMEN - F ( 画 面 ) 」 ) 。
定 義 体 単 語 , 数 値 , ワ ー ク 以 外 の 単 語 ( 第 18行 目 の 「 ス テ ー タ ス 」 ) に は , そ の 旨 を 表 す 識 別 子 ( 第 1 次 座 標 ; こ こ で は 「 制 御 BOX」 ) が 付 与 さ れ る 。 追 記 さ れ る 識 別 子 は , プ ロ グ ラ ム 記 述 欄 に 記 述 さ れ て い る プ ロ グ ラ ム ( 従 来 プ ロ グ ラ ム ) と と も に , 内 部 メ モ リ 8 ( 記 憶 手 段 ) に 一 時 的 に 記 憶 さ れ る 。
次 に , 定 義 体 種 別 , 数 値 ま た は ワ ー ク の い ず れ か の 識 別 子 が 付 与 さ れ た 単 語 に つ い て , そ の 単 語 が 端 点 単 語 ま た は 始 点 単 語 で あ る か ど う か が 判 断 さ れ る ( ス テ ッ プ 107 ) 。 端 点 単 語 ま た は 始 点 単 語 の い ず れ で も な い 場 合 ( ス テ ッ プ 107 で N 0 ) , 次 の 命 令 文 に つ い て の 処 理 に 移 る ( ス テ ッ プ 105 , ス テ ッ プ 103 ) 。
端 点 単 語 ま た は 始 点 単 語 で あ る か は , 単 語 の 検 出 処 理 ( ス テ ッ プ 104 ) に お い て 検 出 さ れ た 単 語 が , MOVE 文 ま た は COMPUTE文 等 の 値 を 代 入 す る た め の ( 参 照 す る ) 単 語 と , 値 が 代 入 さ れ る 単 語 と が 用 い ら れ る 命 令 文 中 の 単 語 で あ る か ど う か に よ っ て 判 断 さ れ る 。 た と え ば , 第 22行 目 の 「 COMPUTE WK ( ワ ー ク ) = TANKA 0 F GAMEN-R ( S ) * SU OF GAMEN - R ( 画 面 ) 」 は , C OMPUTE文 で あ る の で , こ の 命 令 文 に は 端 点 単 語 お よ び 始 点 単 語 が 含 ま れ て い る こ と が 分 か る 。 COMPUTE文 の 場 合 , 「 二 ( イ コ ー ル ) 」 の 前 に 位 置 す る 単 語 が , デ 一 夕 が 代 入 さ れ る 単 語 ( 端 点 単 語 ) で あ る 。 「 = ( ィ コ ー ル ) 」 の 後 ろ に 位 置 す る 単 語 が デ 一 夕 を 代 入 す る た め の 単 語 ( 始 点 単 語 ) で あ る 。 単 語 「 W K」 に は 端 点 単 語 で あ る 旨 を 表 す 識 別 子 が , 単 語 「 TANKAj お よ び
「 SU」 に は 始 点 単 語 で あ る こ と を 表 す 識 別 子 が , そ れ そ れ 付 さ れ る ( 「 COMPUTE WK ( 端 : ワ ー ク ) = TANKA
OF GAMEN-R ( 始 : 画 面 ) * SU OF GAMEN-R ( 始 : 画 面 ) 」 ) 。 MOVE文 の 場 合 に は , 「 T0」 の 前 に 位 置 す る 単 語 が 始 点 単 語 で あ り , 「 Τ 0」 の 後 ろ に 位 置 す る 単 語 が 端 点 単 語 で あ る 。 内 部 メ モ リ 8 に 記 憶 さ れ て い る プ ロ グ ラ ム に 識 別 子 ( 識 別 子 を 表 す デ ー タ ) が 追 記 さ れ る ( 定 義 体 識 別 子 等 が 追 記 さ れ た プ ロ グ ラ ム が 更 新 さ れ る ) 。
リ ー · ベ ル ト の 作 成 と , 処 理 経 路 図 情 報 テ ー ブ ル の 作 成 を 終 え る と , 次 に 規 格 化 処 理 ( 第 19図 , ス テ ッ プ 52 ) に 移 る 。 第 33図 は 規 格 化 処 理 ( ス テ ッ プ 52 ) の 内 容 の 詳 細 を 示 す フ ロ ー チ ヤ 一 ト で あ る 。 規 格 化 処 理 で は , 第 2 次 座 標 決 定 処 理 ( ス テ ッ プ 91 ) に よ り , 上 述 の リ — ' ベ ル ト ( 第 32図 ) に 新 た な 情 報 が 追 記 さ れ る 。 さ ら に , 命 令 の 展 開 処 理 ( ス テ ッ プ 92 ) お よ び I F 文 の 解 析 処 理 ( ス テ ッ プ 92 ) が 行 わ れ て , 命 令 列 表 ( 後 述 す る ) が 作 成 さ れ る 。 作 成 さ れ た 命 令 列 表 と , 上 述 の 処 理 経 路 図 情 報 テ ー ブ ル 等 か ら , Lyee ALL登 録 情 報 作 成 処 理 が 行 わ れ る ( ス テ ッ プ 54) 。 以 下 , こ れ ら の 処 理 の 詳 細 を 順 次 説 明 す る 。
第 34図 は , 第 2 次 座 標 決 定 処 理 ( ス テ ッ プ 91 ) の 詳 細 な 流 れ を 示 す フ 口 一 チ ャ ー ト で あ る 。 第 35図 は , 第 2 次 座 標 決 定 処 理 に よ っ て 得 ら れ る リ ー ' ベ ル ト ( 更 新 さ れ た リ 一 · ベ ル ト ) を 示 す も の で あ る 。 第 2 次 座 標 決 定 処 理 ( 第 34図 ) に は , 上 述 の 第 1 次 座 標 決 定 処 理 ( 第 31図 ) と 同 じ 処 理 が 含 ま れ る の で , 第 1 次 座 標 決 定 処 理 中 の 処 理 と 同 じ 処 理 に は 同 一 の 符 号 を 付 し , 重 複 し た 説 明 を 省 略 す る 。
第 2 次 座 標 決 定 処 理 も , 第 1 次 座 標 決 定 処 理 と 同 様 に , コ ン ピ ュ ー タ に よ っ て 処 理 さ れ る 。 も ち ろ ん , 技 術 者 が 処 理 結 果 を 検 証 す る , 必 要 に 応 じ て 技 術 者 が 処 理 結 果 を 修 正 す る 等 を 行 っ て も よ い 。
検 出 さ れ た 単 語 ( 単 語 に は , 上 述 の 識 別 子 ( 第 1 次 座 標 ) を 表 す デ ー タ が 付 随 し て い る ) の そ れ ぞ れ に つ い て , ノ レ ッ ト 連 鎖 関 数 種 別 ( T 0 か , T 1 か ま た は か ) と , ノ レ ッ ト 種 別 ( W 0 4 ノ レ ッ ト 単 語 か , W 0 2 ノ レ ッ ト 単 語 か , W 0 2 G サ ブ ' ノ レ ッ ト 単 語 か ま た は W 0 4 P サ ブ · ノ レ ツ ト 単 語 か ) と が 判 別 さ れ , そ の 旨 を 表 す 識 別 子 が 単 語 に 付 与 さ れ る ( ス テ ッ プ 111 , 単 語 の パ レ ツ 卜 へ の 割 付 け ) 。
単 語 の パ レ ッ ト 連 鎖 関 数 種 別 の 判 断 は , C P U 2 ( ま た は 内 部 メ モ リ 8 ; 記 憶 手 段 ) に 読 込 ま れ た 命 令 文 に 含 ま れ て い る 単 語 が 属 す る 定 義 体 種 別 か ら 判 断 す る こ と が で き る 。 た と え ば , 定 義 体 「 GAME N - R」 は 画 面 定 義 体 で あ る 。 画 面 等 の 定 義 体 に 属 す る 単 語 は パ レ ツ ト 連 鎖 関 数 T 0 ( ノ レ ッ ト 連 鎖 関 数 種 別 が 「 T 0 」 ) と し て 位 置 づ け ら れ る 。 定 義 体 「 GAMEN- R」 に 属 す る 単 語 ( 「 SH I N_CD」 , 「 SU」 , 「 TANKA」 お よ び 「 K I NG AKU」 ) ( こ れ ら の 単 語 に 続 く 「 0F GAMEN - R」 の 記 述 か ら , 定 義 体 「 GEMEN - R」 に 属 す る 単 語 で あ る こ と が 把 握 さ れ る ) の パ レ ッ ト 連 鎖 関 数 種 別 は 「 T 0 」 と 判 断 さ れ る 。 C P U 2 に 読 込 ま れ た 命 令 文 に こ れ ら の 単 語 が 含 ま れ て い る 場 合 に は , そ の 単 語 に 付 随 す る よ う に , 識 別 子 ( T 0 か , T 1 か , K か を 表 す デ ー タ ) が 追 記 さ れ る 。
単 語 の パ レ ツ ト 種 別 の 判 断 は , そ の 単 語 が 入 力 に 関 す る 単 語 で あ る か , 出 力 に 関 す る 単 語 で あ る か に よ つ て 判 断 さ れ る 。 た と え ば , 単 語 「 SH I N-CD ( OF GAMEN -R ) 」 お よ び 「 SU ( 0F GAMEN-R ) 」 は 手 続 部 ( PROCED URE D I V I S I ON ) の 第 13行 の 記 述 か ら , 入 力 に 関 す る 単 語 で あ る こ と , す な わ ち W 0 2 ノ レ ツ ト 単 語 で あ る こ と が 分 か る 。 結 局 , 単 語 「 SH I N - C D ( OF GAME N -R ) 」 お よ び 「 SU ( 0F GAME N - R ) 」 に は , 「 T 0 W 0 2 」 と い う 識 別 子 が 付 与 さ れ る ( プ ロ グ ラ ム 記 述 欄 に 追 記 さ れ る ) こ と に な る ( 第 35図 ; リ ー ' ベ ル ト の 更 新 ) 。 従 来 プ ロ グ ラ ム に 含 ま れ る 単 語 の そ れ そ れ が , 複 数 の パ レ ツ 卜 の い ず れ か に 割 付 け ら れ る 。
第 2 次 座 標 決 定 処 理 ( ス テ ッ プ 91 ) を 終 え る と , 命 令 文 の 展 開 処 理 に 移 る ( ス テ ッ プ 52 ) 。 第 36図 は , 命 令 文 の 展 開 ( 基 本 構 造 の 充 足 ) 処 理 の 流 れ を 示 す フ ロ 一 チ ャ ー ト で あ る 。 第 1 次 座 標 決 定 処 理 ( 第 31図 ) と 同 じ 処 理 に は 同 一 の 符 号 を 付 し , 重 複 し た 説 明 を 避 け る 。 命 令 文 の 展 開 処 理 も ま た , 基 本 的 に は コ ン ビ ユ ー 夕 に よ っ て 行 わ れ る 。
C P U 2 ( ま た は 内 部 メ モ リ 8 ) に 読 込 ま れ た 命 令 文 に つ い て , そ の 命 令 文 が , 値 を 代 入 す る た め の ( 参 照 す る ) 単 語 ( 始 点 単 語 ) と 値 が 代 入 さ れ る べ き 単 語 ( 端 点 単 語 ) と が 用 い ら れ て い る 命 令 文 ( MOVE文 ま た は C OMP U T E文 等 ) で あ る か ( 端 点 単 語 お よ び 始 点 単 語 を 含 む プ ロ グ ラ ム 文 で あ る か ) ど う か が 判 断 さ れ る ( ス テ ッ プ 121 ) 。 MO VE文 や C OMP U T E文 等 以 外 の プ ロ グ ラ ム 文 で あ る 場 合 に は , カ ウ ン タ が イ ン ク リ メ ン ト さ れ て , 次 の 行 の 命 令 文 が 読 み 込 ま れ る ( ス テ ッ プ 121 で NO . ス テ ッ プ 105 ) 。 読 込 ま れ た 命 令 文 が MOVE文 や C OMP UTE文 等 で あ る 場 合 ( ス テ ッ プ 121 で YES ) , そ こ に 含 ま れ る 始 点 単 語 の 第 2 次 座 標 と , 端 点 単 語 の 第 2 次 座 標 が 参 照 さ れ る 。 Lyeeの 循 環 構 造 ( 基 本 構 造 ) を 満 た し て い る か ど う か が 判 定 さ れ る ( ス テ ッ プ 122 ) 。
上 述 し た よ う に , Lye eの 方 法 論 に 従 っ て 作 成 さ れ る プ ロ グ ラ ム ( Lye eプ ロ グ ラ ム ) は , W 0 4 ノ レ ッ ト , W 0 2 ノ レ ツ ト お よ び W 0 3 ノ レ ツ ト の 順 に 処 理 が 行 わ れ る よ う に プ ロ グ ラ ミ ン グ さ れ る 。 従 来 プ ロ グ ラ ム で は , こ の よ う な 作 成 手 法 に 従 う プ ロ グ ラ ム 作 成 が 行 わ れ て い な い の で , 循 環 構 造 を 満 た さ な い プ ロ グ ラ ム ( 命 令 文 ) が 存 在 す る 。 命 令 文 の 展 開 ( 循 環 構 造 の 充 足 ) 処 理 は , 循 環 構 造 を 満 た し て い な い 命 令 文 を 検 出 し て , そ の よ う な 命 令 文 を 循 環 構 造 を 満 た す よ う に す る た め の 処 理 で あ る 。
た と え ば , 第 21行 の 「 M0VE TANKA OF SH I N-TBL ( ½ : T 1 WO 2 ) TO TANKA OF GAMEN-R ( ¾ : T0W04 ) 」 は , T 1 W 0 2 ) レ ヅ ト 単 語 ( TANKA( OF SH I N— TBL ) ) に 格 納 さ れ る デ 一 夕 を , T 0 W 0 4 ノ レ ッ ト 単 語 ( TANKA ( OF GAMEN-R ) ) に 格 納 す る 命 令 文 と な っ て い る 。 こ の 命 令 文 は , Lye e の 方 法 論 の 見 地 か ら 見 る と , T 1 W 0 2 ノ レ ヅ 卜 の 次 に T 0 W 0 4 ノ レ ツ 卜 が 動 作 す る 命 令 文 と な っ て い る 。 T O , T l , K の そ れ そ れ に お い て W 0 4 ノ レ ッ ト , W 0 2 ノ レ ッ ト , W 0 3 ノ レ ッ ト を こ の 順 番 に 動 作 さ せ る と い う Lye eの 方 法 論 に 従 う プ ロ グ ラ ム 構 造 に 反 す る 記 述 で あ る 。 そ こ で , 命 令 文 の 展 開 処 理 で は , こ の よ う な 命 令 文 が C P U 2 に 読 み 込 ま れ た 場 合 に は , そ の 命 令 文 が 循 環 構 造 を 満 た す こ と に な る よ う に , 命 令 文 ( お よ び 新 た な 単 語 ) を 追 力 Π ( ま た は 命 令 文 を 分 解 , 展 開 ) す る 処 理 が 行 わ れ る ( ス テ ツ プ 123 ) 。 第 21行 の 命 令 文 に つ い て 命 令 文 の 展 開 処 理 を 行 っ た 結 果 ( 命 令 列 表 ) を 第 37図 に 示 す 。
第 29図 に 示 す 処 理 経 路 図 お よ び 第 37図 に 示 す 命 令 列 表 を 参 照 し つ つ , 第 21行 目 の 命 令 文 ( 「 M0VE TANKA 0 F SH I N - TBL ( 始 : T 1 W 02 ) TO TANKA OF GAME N - R ( 端 : T0W04 ) 」 ) に 対 す る 命 令 文 の 展 開 処 理 を 説 明 す る 第 21行 目 の 命 令 文 の 始 点 単 語 「 TANKA ( OF SHI N-TBL ) 」 が 属 す る ノ、" レ ッ ト は T 1 W 0 2 ノ' レ ッ ト で あ る 。
L y e eの 方 法 論 に お け る 単 語 の ノ、' レ 卜 へ の 割 付 け の 規 則 の 一 つ に , W 0 2 ノ S レ ッ ト 単 語 と 同 じ 単 語 は W 0 2 G サ ブ · レ ツ ト に も 割 付 け ら れ る と い う 規 貝 IJ が あ る T 1 W 0 2 G サ ブ . レ ト に 新 た な 単 語 「 TANKA ( OF SH I N - TBL ) 」 を 割 付 け る 。 T 1 W 0 2 ノ レ ッ ト と T 1 W 0 2 G サ ブ . レ ツ 卜 と を 結 ぶ 命 令 文 が 追 加 さ れ る ( MOVE TANKA OF S H I - T B L ( T 1 W 02 ) TO TANKA 0 F SHI N-TBL ( T 1W02G) 」 o
L y e eの 方 法 論 に お け る 単 語 の S レ 卜 へ の 割 付 け の 規 則 の 一 つ に , W O 2 G サ ブ · パ レ ツ ト 単 語 に 対 応 す る 単 語 は , W 0 4 P サ ブ . ノ レ ツ ト に も 割 付 け ら れ る と い う 規 貝 IJ が あ る 。 T 1 W 0 4 P サ ブ · ノ レ ツ 卜 に 単 語 「 TANKA ( 0 F SH I - T B L ) 」 を 割 付 け る 。 T 1 W 0 2 G サ ブ ' ノ レ ッ ト と T 1 W 0 4 P サ ブ , ノ S レ ツ 卜 と を 結 ぶ 命 令 文 が 追 カロ さ れ る ( MOVE TANKA OF SH I N - TB L ( T 1 W02 G ) T O TANKA OF S H I N - T B L ( T 1 W 04 P境 界 ) こ の よ う な 場 合 に 割 付 け ら れ る 単 語 を 特 に 境 界 単 語 と 呼 ぶ 第 21行 の 命 令 文 の 端 点 単 語 ( TANKA OF GAMEN - F ( T OW 04 ) ) が , オ ン ラ イ ン 処 理 T O の 基 本 構 造 の 単 語 で あ る の で , バ ッ チ 処 理 T 1 の 基 本 構 造 か ら オ ン ラ イ ン 処 理 T O の 基 本 構 造 に デ ー タ を 移 動 ( 位 相 ) さ せ る 必 要 が あ る 。 こ の 場 合 , オ ン ラ イ ン 処 理 T O の 基 本 構 造 の W 0 4 P サ ブ · ノ レ ッ ト に , 位 相 先 の 新 た な 単 語 を 設 け る ( TANKA OF GAME N _ R ( T 0W04P境 境 ) ) 。 こ の よ う な 場 合 に 割 付 け ら れ る 単 語 を 境 境 単 語 と 呼 ぶ 。 バ ッ チ 処 理 T 1 の W 0 4 P サ ブ . ノ レ ツ 卜 と オ ン ラ イ ン 処 理 T O の W O 4 P サ ブ . ノ レ ツ 卜 と を 結 び つ け る 命 令 文 が 追 カロ さ れ る ( MOVE TANKA OF SH I N— TBL ( T 1 W04P境 界 ) TO TANKA OF GAMEN - R ( T0W04P境 境 ) ) 0
境 境 単 語 に 格 納 さ れ る デ ー タ を , W 0 4 P サ ブ * パ レ ッ ト に 格 納 す る 必 要 が あ る 。 オ ン ラ イ ン 処 理 T O の W 0 4 P サ ブ . ノ レ ッ 卜 に 新 た な 単 語 ( TANKA OF GAM EN-R( T0W04P ) ) を 設 け る 。 境 境 単 語 と 新 た に 生 成 さ れ た W 0 4 P サ ブ ' ノ レ ツ 卜 の 単 語 と を 結 ぶ 命 令 文 を 設 け る ( MOVE TANKA OF GAMEN - R(T0W04P境 境 ) TO TANKA OF GAMEN-R( T0W04P ) ) 。
最 後 に , T 0 W 0 4 P サ ブ · ノ レ ッ ト に 新 た に 割 り 付 け ら れ た 単 語 「 TANKA OF GAME-R( T0W04P ) 」 と , T 0 W 0 4 ノ レ ツ ト 単 語 「 TANKA OF GAMEN— R( T0W04 )」 と を 結 ぶ 命 令 文 を 追 力□ す る ( MOVE TANKA OF GAMEN-R( T0W04P ) TO TANKA OF G A M E N - R ( T 0 W 04 ) ) 。
命 令 列 表 ( 第 37図 ) に は , 命 令 文 の 展 開 処 理 が 行 わ れ た 行 番 号 , 展 開 さ れ た 命 令 文 の Lyeeプ ロ グ ラ ム に お け る 位 置 づ け ( 種 別 ) , 命 令 文 が 扱 わ れ る パ レ ッ ト ( パ レ ッ ト 関 数 プ ロ グ ラ ム ) ( 所 在 ) お よ び 展 開 後 の 命 令 文 が 記 述 さ れ る 。 命 令 列 表 の 内 容 は プ ロ グ ラ ム 再 生 装 置 1 の メ モ リ ( 記 憶 手 段 ) に 記 憶 さ れ る の は い う ま で も な い 。 も ち ろ ん , 命 令 列 表 ( 命 令 文 の 展 開 処 理 の 処 理 結 果 ) を , リ ー ' ベ ル ト の プ ロ グ ラ ム 記 述 欄 に 記 述 し て も ょ レヽ ( こ の 場 合 に は , リ ー ' ベ ル ト の プ ロ グ ラ ム 記 述 欄 が さ ら に 更 新 さ れ る ) 。
次 に I F 文 の 解 析 処 理 が 行 わ れ る ( ス テ ッ プ 93 ) 。 第 38図 〜 第 40図 は , I F 文 の 解 析 処 理 の 詳 細 を 示 す フ 口 一 チ ャ ー ト で あ る 。 I F 文 の 解 析 処 理 は , 処 理 経 路 図 情 報 テ ー ブ ル ( ま た は 処 理 経 路 図 ) を 利 用 す る 。 処 理 経 路 図 情 報 テ ー ブ ル に 格 納 さ れ た 情 報 を 利 用 し て コ ン ピ ュ ー 夕 に 解 析 処 理 を 行 わ せ る こ と が で き る 。 技 術 者 が , 処 理 経 路 図 情 報 テ ー ブ ル ( 処 理 経 路 図 ) に 基 づ い て , コ ン ピ ュ ー タ に 情 報 入 力 作 業 を 行 う よ う に し て も よ い 。
I F 文 の 解 析 処 理 は , 従 来 プ ロ グ ラ ム 中 に 用 い ら れ て い る I F 文 の 命 令 文 と , Lyeeプ ロ グ ラ ム 上 に お け る 位 置 づ け を 判 定 す る 処 理 で あ る 。 従 来 プ ロ グ ラ ム 中 に 現 れ る I F 文 は , ① 一 の 基 本 構 造 か ら 他 の 基 本 構 造 ( ま た は 終 了 処 理 ) に 向 か う 経 路 を 規 定 し て い る I F 文 , ② 入 力 条 件 ま た は 出 力 条 件 を 規 定 し て い る I F 文 , ③ 等 価 単 語 ( 2 以 上 の 命 令 文 に お い て 同 じ 端 点 単 語 が 用 い ら れ て い る 場 合 , そ の 端 点 単 語 を 特 に 等 価 単 語 と 呼 ぶ ) を 制 御 す る I F 文 と に 大 別 さ れ る 。 I F 文 の 解 析 処 理 ( 第 38図 〜 第 40図 ) に よ っ て , 従 来 プ ロ グ ラ ム 中 の I F 文 が , Lyeeプ ロ グ ラ ム の い ず れ の 要 素 プ ロ グ ラ ム で 用 い ら れ る べ き で あ る か が 把 握 さ れ る 。
処 理 経 路 図 情 報 テ ー ブ ル ( 第 30図 ) の 「 経 路 要 素 I D 」 欄 ( ま た は 処 理 経 路 図 ( 第 29図 ) ) か ら , 経 路 作 用 要 素 プ ロ グ ラ ム に よ っ て 分 岐 さ れ る べ き 分 岐 点 の 一 つ が 選 択 さ れ る ( ス テ ッ プ 131 ) o
選 択 さ れ た 分 岐 点 が エ ラ ー 処 理 の 基 本 構 造 に 向 か う 分 岐 点 で あ る 場 合 に は ( ス テ ッ プ 132 で Y E S ) , リ 一 • ベ ル 卜 の プ ロ グ ラ ム 記 述 欄 か ら , 選 択 さ れ た 分 岐 の 次 の ( 後 ろ の ) 処 理 で あ る エ ラ 一 処 理 の 基 本 構 造 の 処 理 に 関 連 す る I F 文 が 抽 出 さ れ る 。 す な わ ち , こ こ で 抽 出 さ れ る I F 文 は , 所 定 の 条 件 に よ っ て エ ラ 一 処 理 を 行 う 処 理 が 選 択 さ れ る よ う な 命 令 文 で あ る 。
抽 出 さ れ た I F 文 が , 上 述 の 選 択 さ れ た 分 岐 点 の 元 と な る ノ レ ツ ト ( た と え ば , 第 29図 の 処 理 経 路 図 の 分 岐 点 A の 元 と な る パ レ ッ ト は , T 0 W 0 4 P サ ブ · パ レ ッ ト で あ る ) の 経 路 作 用 要 素 プ ロ グ ラ ム ( 第 7 図 , 第 14図 参 照 ) 中 に 用 い ら れ る 実 行 条 件 と し て 位 置 づ け ら れ る 。 抽 出 さ れ た I F 文 と , そ の I F 文 が 用 い ら れ る べ き ノ レ ツ 卜 と の 関 係 が , 内 部 メ モ リ 8 に 一 時 的 に 記 憶 さ れ る ( ス テ ッ プ 133 ) 。
第 29図 に 示 す 処 理 経 路 図 に お い て , 分 岐 点 A ( 分 岐 点 A で は 経 路 が 4 つ に 分 か れ て い る ) は , エ ラ ー 処 理 に 向 か う 分 岐 点 を 含 む 。 エ ラ ー 処 理 の 基 本 構 造 を 制 御 す る I F 文 と し て , 第 13行 お よ び 第 18行 ( 第 35図 参 照 ) が 抽 出 さ れ る ( 「 99999」 が エ ラ 一 を 表 す も の と し て 把 握 さ れ る の で , 「 99999」 が 関 連 す る 命 令 文 を 制 御 す る I F 文 が , エ ラ 一 処 理 の 基 本 構 造 を 制 御 す る I F 文 と し て 抽 出 さ れ る ) 。 第 13行 の I F 文 は , そ の 後 の 「 ELSEj に 続 く 記 述 か ら , 画 面 に 関 連 す る 処 理 に お け る エ ラ ー 処 理 へ の 分 岐 で あ る こ と が 把 握 さ れ る ( 第 18行 の I F 文 は , そ の 後 の 「 ELSE」 に 続 く 記 述 か ら , D B ( デ ー タ ベ ー ス ) に 関 連 す る 処 理 に お け る エ ラ ー 処 理 へ の 分 岐 で あ る こ と が 把 握 さ れ る ) 。 第 13行 の I ^ ー 一 ri D ^ ^ G9 } ¾ ω ¾ m ° ( I 、
^ ^: ) ¾ n ^ m s( C — 09 ¾- ^ ω -I
Ik § ^ ¾ ¾ ^ } ¾ tfl Ώ : ^ γ ^ D V ^ n ^ g ¾ w ?) ^ ¥ ^ ロ 挲 達 ¾ M f Y '
¾ ^ ( m §s ¾ s ϊ¾ ) 一 ^ ¾ 図 ¾ ¾ s W ' :) ¾
W W ^ ω » ¾ si マ ^ ^ ロ ^ ' o. η ^ ¥ ^ I ¾ 1ί 3 ^ ω 「 ¾ ω M 第 」 ® Φ ( in \ m ) マ 口 挲 產 ¾ ¾ ¾ ω 4 s o o 丄 ° ¾ -Ι ^ ¾ ^ ) ^ 掛 * co m 丄 ¾ ^ ^ 一 ' ?) e ^ ¾l ^ ω Φ m ^ m s ¾
'
Figure imgf000077_0001
- ) ¾ w „ 喜
¾ つ ^ ^ ^ u ¾ ¾ 25 φ マ ロ 挲 ¾ ¾ ¾
( ω ^ ω ^ a ^ ^ w J I w
^ w ω ' w $ w ¾ ^ Φ ¾ 2 09 マ ^ a ^ ¥ ¾ s(?
¥ ^ I ¾ 1ί M j B ¾ ω # * ¾ S ¾ ω ω ^
¾1 ^ ^ ^ ^ ' ?) 21 ( ^ ¾ ^ ω ^ w » * S © ¾ » :
^ T X ' 0 X ^ ¾ ¾ B W ω ^ ® ) ^ ¾ 1 ¾; ^ ¾ ^ ^ ¾j ¾ » * S ω ¾ W — 4 ェ ' ^ ¾
。 ^ u 喜 ¾ n ^ ¥ ^ I w 、1 ¾ ) Φ マ ^ ロ ^ m w ^> §s ¾ ¾
^ :) d ^ 0 T X ¾ ¾ ^ ω 0 ¾ι
^ ' ? ) ¾: Λ I G9 ¾ 8 ΐ ¾ ° 0 ¾ っ ^ ¥ J I
¾ If ¾ 1 ¾ ::) Φ マ ^ A α 峯 產 ¾ ¾ ^ 2) 4
-fr d ^ 0 0 X ¾ ¾ a ^ ω V ^ ¾ ^
9Z
9T6.0/00df/X3d CIZSC/10 OAV 画 面 か ら デ ー タ を 読 込 む よ う な 場 合 に , 入 力 条 件 が 規 定 さ れ る 。 所 定 の 条 件 の と き に デ ー タ ベ ー ス や 画 面 に デ ー タ を 出 力 す る よ う な 場 合 に , 出 力 条 件 が 規 定 さ れ る 。
選 択 さ れ た ノ、' レ ツ 卜 に つ い て , 入 力 条 件 ま た は 出 力 条 件 が あ る か ど う か が 判 断 さ れ る ( ス テ ッ プ 142 ) 。 そ の よ う な 条 件 が な い 場 合 に は , 次 の パ レ ッ 卜 の 選 択 に 進 む ( ス テ ッ プ 142で NO , ス テ ッ プ 140 , ス テ ッ プ 14 1 ) o
入 力 条 件 ま た は 出 力 条 件 が あ れ ば , そ の よ う な 入 力 条 件 ま た は 出 力 条 件 を 規 定 し て い る I F 文 が , プ ロ グ ラ ム 記 述 欄 の 記 述 か ら 抽 出 さ れ る 。 ス テ ッ プ 141に お い て 選 択 さ れ た ノ レ ヅ ト が W 0 2 ノ レ ツ 卜 で あ れ ば , 入 力 条 件 を 表 す I F 文 が 抽 出 さ れ て 選 択 さ れ た W 0 2 ノ1? レ ッ ト の 入 力 作 用 要 素 プ ロ グ ラ ム の 「 実 行 条 件 」 と し て 位 置 づ け ら れ る 。 選 択 さ れ た ノ レ ツ ト が W 0 4 パ レ ツ 卜 で あ れ ば , 出 力 条 件 を 表 す I F 文 が 抽 出 さ れ て , 選 択 さ れ た W 0 4 ノ レ ツ 卜 の 出 力 作 用 要 素 プ ロ グ ラ ム の 「 実 行 条 件 」 と し て 位 置 づ け ら れ る ( ス テ ッ プ 14 3 ) 。 第 21図 に 示 す 従 来 プ ロ グ ラ ム ( 第 35図 に 示 す プ ロ グ ラ ム 記 述 欄 の プ ロ グ ラ ム ) に は , こ の よ う な I F 文 は な い 。
最 後 に , 端 点 単 語 が 等 価 単 語 で あ る よ う な MOVE文 や COMPUTE文 等 が プ ロ グ ラ ム 記 述 欄 か ら 検 索 さ れ る ( ス テ ツ プ 151 ) 。 そ の よ う な MOVE文 や COMPUTE文 等 が 見 つ か る と , そ の 命 令 文 を 制 御 す る I F 文 が 抽 出 さ れ る 。 MOVE文 等 に 用 い ら れ て い る 等 価 単 語 ( 端 点 単 語 ) に デ ー タ を 格 納 す る た め に 用 い ら れ る 始 点 単 語 が 属 す る W 0 4 P サ ブ ' ノ レ ッ ト の 論 理 要 素 プ ロ グ ラ ム 中 の 「 成 立 ? 」 に , 抽 出 さ れ た I F 文 が 用 い ら れ る こ と に な る ( ス テ ッ プ 152 ) 。 す べ て の 等 価 単 語 を 含 む プ ロ グ ラ ム 文 に つ い て , こ の 処 理 が 行 わ れ る ( ス テ ッ プ 153
) o
た と え ば , 第 35図 の プ ロ グ ラ ム 記 述 欄 を 参 照 し て , 第 24行 お よ び 第 26行 の い ず れ に も 端 点 単 語 と し て 「 K I NGAKU OF GAMEN-R ( 端 : T 0W04 ) 」 が 用 い ら れ て レヽ る o 端 点 単 語 「 K I NGAKU OF GAME -R ( 端 : T0W04 ) 」 は 等 価 単 語 で あ る こ と が 分 か る 。 こ の 等 価 単 語 に つ い て の 命 令 文 ( MOVE ) を 制 御 す る I F 文 は 第 23行 の I F文 で あ る 。 第 23行 の I F文 が , こ の 等 価 単 語 に 対 す る 始 点 単 語 で あ る 「 WK」 が 属 す る K 一 W 0 4 P サ ブ ' ノ レ ッ ト の 論 理 要 素 プ ロ グ ラ ム の 「 成 立 ? 」 の 部 分 と し て 位 置 づ け ら れ る 。
上 述 の I F 文 の 解 析 処 理 は , 必 ず し も 上 述 の 順 番 で 行 う 必 要 は な い 。 等 価 単 語 に つ い て の I F 文 の 解 析 処 理 ( 第 40図 ) を は じ め に 行 っ て も よ い し , 入 力 / 出 力 条 件 の I F 文 の 解 析 処 理 ( 第 39図 ) を は じ め に 行 っ て も よ い 。 命 令 文 の 展 開 処 理 ( ス テ ッ プ 93 ) に よ っ て 作 成 さ れ た 命 令 列 表 が 完 成 し , I F 文 の 解 析 処 理 ( ス テ ッ プ 94 ) が 終 了 す る と , Lyee ALL登 録 情 報 へ の 変 換 処 理 に 進 む ( ス テ ッ プ 94) 。 こ の 変 換 処 理 は , 上 述 の I F 文 の 解 析 処 理 ま で の 一 連 の 処 理 に よ っ て 得 ら れ た 情 報 ( 処 理 経 路 図 情 報 テ 一 ブ ル に 格 納 さ れ て い る 情 報 , 従 来 プ ロ グ ラ ム 中 に 現 れ る 単 語 の 第 2 次 座 標 , 命 令 文 の 展 開 処 理 に よ っ て 設 け ら れ た 新 た な 単 語 の 第 2 次 座 標 , 従 来 プ ロ グ ラ ム 中 の I F 文 の Lyeeプ ロ グ ラ ム に お け る 位 置 づ け 等 ) を , 後 述 す る Lyee ALL処 理 プ ロ グ ラ ム に よ る 処 理 の 入 力 デ ー タ 形 式 に 変 換 す る 処 理 で あ る 。 デ ー 夕 形 式 を ( デ 一 夕 の 並 び 等 ) を 変 更 す る 処 理 で あ る の で , 詳 細 な 説 明 は 省 略 す る 。
デ ー タ 形 式 の 変 更 ( Lyee ALL 登 録 情 報 の 作 成 ) を 終 え る と , Lyee ALL処 理 に 進 む ( 第 19図 ; ス テ ッ プ 53 ) 。 第 41図 は Lyee ALL処 理 の 内 容 を 示 す フ ロ ー チ ヤ 一 ト で あ る 。
上 述 し た よ う に , Lyeeプ ロ グ ラ ム で は , あ ら か じ め 定 め ら れ た 処 理 構 造 を 持 つ パ レ ッ ト 連 鎖 関 数 プ ロ グ ラ ム , ノ レ ツ ト 関 数 プ ロ グ ラ ム お よ び 要 素 プ ロ グ ラ ム の 一 般 形 ( テ ン プ レ ー ト ) が 用 意 さ れ て い る 。 テ ン プ レ — 卜 の 所 定 の 位 置 ( 「 成 立 ? 」 や 「 自 己 生 成 」 , 「 判 断 」 等 ) に , 処 理 経 路 図 情 報 テ ー ブ ル の 情 報 , IF文 ( 成 立 条 件 情 報 ) , 従 来 プ ロ グ ラ ム 中 に 現 れ る 命 令 文 が 代 入 さ れ る 。 た と え ば , 従 来 プ ロ グ ラ ム 中 の MOVE文 や C OMPUTE文 力 , 自 己 生 成 情 報 と し て , そ の 命 令 文 中 の 端 点 単 語 が 属 す る 基 本 構 造 に お け る W 0 4 P サ ブ · パ レ ッ ト の 論 理 要 素 プ ロ グ ラ ム の 「 自 己 生 成 」 に 代 入 さ れ る ) 。 従 来 プ ロ グ ラ ム が 達 成 す る 処 理 機 能 を 持 ち つ つ , Lyeeの 方 法 論 に 従 う プ ロ グ ラ ム 構 造 を も つ 複 数 の プ ロ グ ラ ム ( 第 7 図 に 示 す プ ロ グ ラ ム ) ( Lye eプ ロ グ ラ ム ) が 完 成 す る ( ス テ ッ プ 96 ) 。
最 後 に , 従 来 プ ロ グ ラ ム の 整 理 処 理 ( 第 26図 , ス テ ッ プ 82 ) を , コ ボ ル . プ ロ グ ラ ム を 例 に し て 説 明 す る コ ボ ル に よ っ て 作 成 さ れ る プ ロ グ ラ ム に は , コ ピ ー 句 ( コ ピ ー 文 ) が 含 ま れ て い る こ と が あ る 。 こ れ は , ラ イ ブ ラ リ に あ ら か じ め 原 始 プ ロ グ ラ ム ( 原 文 ) の 一 部 を 登 録 し て お き , 他 の プ ロ グ ラ ム 中 に そ の ま ま 複 写 し て 利 用 す る も の で あ る 。 コ ピ ー 句 が 用 い ら れ て い る 場 合 , そ の コ ピ ー 句 に よ っ て 指 定 さ れ て い る 原 文 を 展 開 す る 処 理 ( コ ピ ー 句 展 開 処 理 ) が 行 わ れ る 。
第 42図 は , デ 一 夕 部 ( DATA D I V I S I O ) に お け る コ ピ ー 句 展 開 処 理 の 様 子 を , 第 43図 お よ び 第 44図 は , 手 続 部 ( PROCEDURE D I V I S I ON ) に お け る コ ピ ー 句 展 開 処 理 の 様 子 を , そ れ そ れ 示 し て い る 。
第 42図 に 示 す よ う に , 展 開 前 の プ ロ グ ラ ム 記 述 中 に , 「 C OP Y A . 」 お よ び 「 C 0PY B . I の 記 述 が 含 ま れ , コ ピ ー 句 A ( A PROC に 続 く 部 分 ( 枠 で 囲 っ て 示 す ) ) お よ び コ ピ ー 句 B ( B PR0C に 続 く 部 分 ) が 別 途 用 意 さ れ て い る 場 合 に は , 「 C0PY A.」 の 部 分 に A PRO C の 内 容 が , 「 C0PY B .」 の 部 分 に B PROC の 内 容 が , そ れ そ れ 展 開 さ れ る 。 展 開 前 の プ ロ グ ラ ム 記 述 ( 左 側 ) が , 展 開 後 の プ ロ グ ラ ム 記 述 ( 右 側 ) に 書 き 直 さ れ る 。
第 43図 の 展 開 の 例 に つ い て も 同 様 で あ る 。 「 C0PY X . 」 の 部 分 に , X PR0C の 内 容 が 展 開 さ れ る 。 第 44図 に 示 す 展 開 の 例 に つ い て も 同 様 で あ る 。 「 C0PY Y .」 の 部 分 に , Y PR0C の 内 容 が 展 開 さ れ る 。
従 来 プ ロ グ ラ ム 中 ( メ イ ン · プ ロ グ ラ ム 中 ) に , サ ブ . ル ー チ ン ( サ ブ ' プ ロ グ ラ ム ) を 呼 び 出 す 記 述 が 含 ま れ て い る こ と が あ る 。 メ イ ン · プ ロ グ ラ ム に よ つ て サ ブ · ル ー チ ン が 呼 出 さ れ , 呼 出 さ れ た サ ブ · ル ー チ ン の 実 行 が 終 了 す る と , 再 び メ イ ン · プ ロ グ ラ ム の 処 理 に 戻 る 。 こ の 場 合 , メ イ ン ' プ ロ グ ラ ム に は , サ ブ . ル ー チ ン を 呼 出 す 命 令 ( サ ブ . ル ー チ ン の CALL ) が 含 ま れ て い る 。 メ イ ン · プ ロ グ ラ ム 中 の サ ブ · ル 一 チ ン の CALLに 代 え て , そ の サ ブ . ル ー チ ン の 命 令 文 を メ イ ン ' プ ロ グ ラ ム 中 に 展 開 ( 挿 入 ) す る 処 理 ( サ ブ ル ー チ ン 展 開 処 理 ) が 行 わ れ る 。 第 45図 は , サ ブ ル 一 チ ン 展 開 処 理 の 様 子 を 示 し て い る 。
第 45図 に 示 す よ う に , 展 開 前 の メ イ ン · プ ロ グ ラ ム 中 に , サ ブ ' ル ー チ ン を 読 出 す CALL命 令 ( CALL , SU Β00 Γ USI G WK-A WK— B WK - C ) が 含 ま れ , サ ブ · ル ー チ ン ( プ ロ グ ラ ム I D ( PROGRAM- I D . ) 力 s 「 SUB001. 」 の サ ブ ' ル ー チ ン ) が 用 意 さ れ て い る 場 合 に , メ イ ン · プ ロ グ ラ ム 中 の CALL命 令 に 代 え て , そ の CALL命 令 に よ っ て 呼 出 さ れ る サ ブ * ル 一 チ ン の 内 容 が , メ イ ン • プ ロ グ ラ ム に 展 開 ( 揷 入 ) さ れ る ( 第 45図 に 示 す サ ブ ' ル ー チ ン に お い て , COMPUTE文 に 続 く 部 分 ( 「 WK_ Z = 2*WK- X*WK-Y*WK- Y」 ) が サ ブ ' ル ー チ ン の 実 質 的 な 部 分 で あ る の で , こ の 部 分 の み が メ イ ン ' プ ロ グ ラ ム に 展 開 さ れ る ) 。 CALL命 令 に 含 ま れ て い る 「 USING WK - A WK- B WK_C」 の 記 述 に し た が っ て , サ ブ ' プ ロ グ ラ ム 中 の WK- X, WK - Y , WK- Zが , メ イ ン · プ ロ グ ラ ム に お い て , そ れ ぞ れ WK- A, WK - B , WK- Cに 置 き 換 え ら れ る 。
従 来 プ ロ グ ラ ム 中 に 不 要 な プ ロ グ ラ ム 記 述 ( 実 行 さ れ 得 な い プ ロ グ ラ ム 記 述 ) が 記 述 さ れ て い る 場 合 に は , そ の よ う な 記 述 を 肖 IJ 除 す る 処 理 ( ク リ ー ニ ン グ 処 理 ) が 行 わ れ る 。 従 来 プ ロ グ ラ ム 中 の 実 行 さ れ 得 な い 部 分 が 削 除 さ れ る 。
た と え ば , 第 46図 に 示 す よ う に , 飛 越 し 命 令 「 G0 T 0」 に よ る 飛 越 し 先 の 記 述 ( LABEL-X) が 従 来 プ ロ グ ラ ム 中 に あ る が , そ の 飛 越 し 先 に 飛 ぶ た め の 命 令 ( GO T 0 LABEL-X ) の 記 述 が 従 来 プ ロ グ ラ ム 中 に 存 在 し な い よ う な 場 合 に は , ク リ 一 ニ ン グ 処 理 に よ っ て LABEL - X の 記 述 が 削 除 さ れ る 。
従 来 プ ロ グ ラ ム に 用 い ら れ る 命 令 に は , 他 の 命 令 に 置 き 換 え る こ と が で き る も の が あ る 。 た と え ば , C0B0 Lに お い て ADD , SUBTRACT , MULT IPLYお よ び D IVIDEを 用 い た 命 令 文 は , す べ て COMPUTEを 用 レゝ た 命 令 文 に 置 き 換 え る こ と が で き る 。 SETを 用 い た 命 令 文 は , MOVEを 用 い て 置 き 換 え る こ と が で き る 。 最 終 的 に 作 成 す る Ly eeプ ロ グ ラ ム に よ っ て 用 い る 命 令 を あ ら か じ め 決 定 し て お く 場 合 に は , そ の 決 定 さ れ た 命 令 を 用 い る よ う に , プ ロ グ ラ ム を 修 正 す る ( こ れ を 変 則 修 正 処 理 と 呼 ぶ ) o
た と え ば , 最 終 的 に 作 成 す る L y e eプ ロ グ ラ ム に お い て 「 SET」 を 用 い な い こ と , お よ び 「 M0VE」 を 用 い る こ と を あ ら か じ め 決 定 し て お い た 場 合 に は , 第 47図 に 示 す よ う に , プ ロ グ ラ ム 中 の 「 SET IDX TO 1」 と い う 記 述 は , 「 M0VE 1 TO IDX」 に 置 き 換 え ら れ る 。
整 形 処 理 が 行 わ れ る 。 整 形 処 理 で は , 次 の 処 理 が 従 来 プ ロ グ ラ ム に 対 し て 行 わ れ る 。
( a ) 従 来 プ ロ グ ラ ム 中 の ピ リ オ ド を 肖 ij 除 し , ス ぺ ー ス を 設 け る 。 ま た , 命 令 文 の 区 切 り を 明 確 に す る た め に , 命 令 文 の 最 後 に END文 ( 命 令 ) を 付 力 [] す る 。
( b ) 複 数 の 単 語 が 含 ま れ て い る 命 令 文 を 分 解 す る o た と え ば , 第 48図 に 示 す よ う に , 「 M0VE A TO B,C 」 と レ、 う 命 令 文 を , 「 MOVE A TO B」 と 「 MOVE A TO C 」 の 2 行 の 命 令 文 に 分 解 す る 。 ま た , 第 49図 に 示 す よ う に , I F 条 件 の 部 分 に お い て , I F 文 の 終 わ り を 意 味 す る 「 END- I F」 を 追 力 [1 す る 。
( c ) コ メ ン ト 行 を 肖 IJ 除 す る 。
( d ) 単 階 層 化 す る 。 COB OLの 場 合 , PERFORM文 等 力 s 用 い ら れ る こ と に よ っ て , プ ロ グ ラ ム が 多 階 層 構 造 と な っ て い る こ と が あ る 。 こ れ を , 単 階 層 構 造 に 変 換 す る 。 た と え ば , 第 50図 に 示 す よ う に , 従 来 プ ロ グ ラ ム 中 に PERFORM文 が 用 い ら れ て い る 場 合 に は , PERFORM命 令 お よ び そ れ に 対 応 す る EX I T命 令 を 肖 (J 除 し , PERF ORM 文 に よ っ て 呼 出 さ れ る プ ロ グ ラ ム 部 分 を , PERF ORM命 令 の 部 分 に 移 動 さ せ る 。
上 述 し た プ ロ グ ラ ム 再 生 処 理 で は , コ ボ ル 言 語 に よ つ て 作 成 さ れ た 従 来 プ ロ グ ラ ム を Lye eの 開 発 手 法 に 従 う プ ロ グ ラ ム ( Lyeeプ ロ グ ラ ム ) に 再 構 築 す る 方 法 を — 貫 し て 説 明 し た が , 他 の プ ロ グ ラ ム 言 語 に よ っ て 作 成 さ れ た 従 来 プ ロ グ ラ ム に つ い て も , 基 本 的 に 同 様 の 考 え 方 を 適 用 す る こ と が で き る 。 す な わ ち , コ ボ ル 言 語 に よ っ て 作 成 さ れ る プ ロ グ ラ ム と 同 じ よ う に , 他 の プ ロ グ ラ ム 言 語 に よ っ て 作 成 さ れ る プ ロ グ ラ ム ( 従 来 プ ロ グ ラ ム ) に も 所 定 の 規 則 ( プ ロ グ ラ ム 記 述 の 約 束 事 ) が 存 在 し , そ の 所 定 の 規 貝 IJ を 把 握 す る こ と が で き れ ば , ど の よ う な 単 語 ( デ 一 夕 ' フ ィ ー ル ド ) が 用 い ら れ て い る の か , そ の 単 語 は ど の よ う な 入 出 力 装 置 (
^ ^ ¾ » ¾ : マ .4 口 l aa q c ¾ ri m ¾ - ©83^1 ' 、 マ ^ ^ 来
¾ 0 $ ¾9 、 ¾ ¾ §| Η マ ^ 口 ω ¾ ' ^ 5
^ ¾ - ¾9 ^> ¾ ( ( M L m ) マ ^ . α ^ 0 ® ¾ ベ ^ ) q - ^ ^ ^ ?^ Ύ ¾ ¾ ¾ ¥ ^ Φ Λ
£r Si南 ω ' ( ¾ ¾ ¾ ¾ if 30 ¾ s n £f ^ τ ¾ )
W fi 亩 ¾ 據 ® W 4 ¾ ¾ 翳 謝 * » ® 9 a Ί
§1 亩 マ 4 .4 a ¥ ¾ ' ) 4 ° §
菌 ® S <$ ' ^ 亩 S 薪 ϋ ( * ¾
^8
9i6.o/oodf/i3d ει ε/ΐο OAV

Claims

' 二) ^ ^ ; p) ^ ^ ^ ¾ g|亩 τ γίτ
° ¾ ¾ ¾ マ ^ ロ 漣 2 ) ¾ ΐ ¾ Η ¾ ω ^ II
稱 ) ::) 挲 講 マ ^
^ η ^ ω -4- θ) ψ -^ ^ - ^ ^ 輋 逢 ^ 講 マ ^ ロ ω m m Τ ' ¾ ^ Φ ?) ^ ^ ¥ ^ ^ ω ¾ ¾ί ¾ - ¾9 ¾ ¾ ^
- ^ ^ ¾ |: ^ ¾ ¾ i ^ 一 <¾ 0 $ 輋 ε· τ =】 §| 南 ω ·^ ^ ¥} ^ ¥ ^ ωマ ^ . ロ ' Z
' ¾ ff ^ 2)
¾ί ^ ¾ ) 、 ® 案 逢 ^ 講 マ ^ α ^ ω ¾ ¾
^ ¾ ¾ ^ ¾ ϋ ω 3 a ^ i ¾ £f Γ) a) Μ — M ■(:) _w ί« ϋ 亩 2 w ^ 2) ^ ^ ) :? ^ G) ' ¾ :^ ^ マ ^ α ^ ω ίέ
' i¾ ) 4 Φ 凝 ¾ « — ' i q 3i 25 戡 S © ¾ » ¾ 2 li l ¾ 亩 南 つ W
' つ FF? m α ¾ ¾ a rig ϋ -I- ΐί M J? §i # ω ' 亩
¾ 1 2. 1 9 1 ¾ i ^ マ .4 ロ Q9 ^ ¾ ^ T
^ ¾ ^ ϋ C ¾ ¾ ^£ ¾ 6 ¾ 2} ¾ ΐ ¾ ¾| © 99 1 っ 封 辦 ¾ 斜 <¾ 4 ^ 褻 ^ マ ^ ^ ロ © ^ ' マ ^ . ロ : ω
Figure imgf000087_0001
· τ
Η ¾ 本 製
S8
9T6.0/00df/X3d CTZSC/IO OAV そ の 命 令 文 ま た は 命 令 に 用 い ら れ て い る 2 以 上 の 単 語 の そ れ ぞ れ が 割 付 け ら れ て い る 2 以 上 の パ レ ツ 卜 の 関 係 が , 所 定 の 順 序 を 満 た す 関 係 で あ る か ど う か を 判 定 し ,
2 以 上 の パ レ ッ 卜 の 関 係 が 所 定 の 順 序 を 満 た し て い な い 場 合 に , そ の 命 令 文 ま た は 命 令 を 複 数 の 命 令 文 ま た は 命 令 に 分 解 し , 分 解 さ れ た 命 令 文 ま た は 命 令 の そ れ そ れ に 新 た な 単 語 を 含 ま せ ,
分 解 さ れ た 命 令 文 ま た は 命 令 の そ れ ぞ れ に 含 ま れ る 2 以 上 の 単 語 が 割 付 け ら れ る 2 以 上 の パ レ ツ 卜 の 関 係 が 所 定 の 順 序 を 満 た す よ う に , 新 た な 単 語 を 一 ま た は 複 数 の ノ レ ッ ト に 割 付 け る ,
請 求 の 範 囲 第 1 項 に 記 載 の プ ロ グ ラ ム 再 生 方 法 。
4 . 抽 出 し た 単 語 が 端 点 単 語 で あ る か , ま た は 始 点 単 語 で あ る か を 識 別 す る ,
請 求 の 範 囲 第 1 項 に 記 載 の プ ロ グ ラ ム 再 生 方 法 。
5 . 既 存 の プ ロ グ ラ ム の 命 令 文 ま た は 命 令 の う ち , 定 義 体 に 対 す る 物 理 的 な 入 出 力 処 理 を 行 う 命 令 文 ま た は 命 令 を , 上 記 複 数 の プ ロ グ ラ ム 構 成 要 素 の う ち ノ、' レ ツ ト を 統 括 的 に 制 御 す る た め の プ ロ グ ラ ム 構 成 要 素 の 一 部 と す る ,
請 求 の 範 囲 第 1 項 に 記 載 の プ ロ グ ラ ム 再 生 方 法 。
6 . 上 記 ノ レ ッ ト は , 出 力 処 理 に 関 す る W 0 4 パ レ ツ ト , 入 力 処 理 に 関 す る W 0 2 パ レ ッ ト お よ び デ 一 夕 生 成 処 理 に 関 す る W 0 3 ノ レ ツ 卜 の い ず れ か で あ り , 抽 出 し た 単 語 が 入 力 処 理 に 用 い ら れ る 定 義 体 に 関 連 す る 場 合 に は , そ の 単 語 を 少 な く と も W 0 2 ノ レ ツ ト に 割 付 け ,
抽 出 し た 単 語 が 出 力 処 理 に 用 い ら れ る 定 義 体 に 関 連 す る 場 合 に は , そ の 単 語 を 少 な く と も W 0 4 ノ レ ツ ト に 割 付 け る ,
請 求 の 範 囲 第 1 項 に 記 載 の プ ロ グ ラ ム 再 生 方 法 。
7 . 既 存 の プ ロ グ ラ ム で 用 い ら れ て い る 単 語 が 関 連 す る 定 義 体 の 種 類 に 応 じ て , W 0 4 ノ、' レ ッ ト , W 0 2 パ レ ツ ト お よ び W 0 3 ノ、' レ ツ ト の 組 を 設 け る ,
請 求 の 範 囲 第 6 項 に 記 載 の プ ロ グ ラ ム 再 生 方 法 。
8 . 上 記 既 存 の プ ロ グ ラ ム で 用 い ら れ て い る 単 語 が , 定 義 体 に 関 連 し て い な い 単 語 で あ る 場 合 に は , そ の 単 語 を 割 付 け る た め の W 0 4 ノ、' レ ツ ト , W 0 2 ノ レ ツ ト お よ び W 0 3 ノ レ ツ 卜 の 組 を 別 に 設 け る ,
請 求 の 範 囲 第 6 項 に 記 載 の プ ロ グ ラ ム 再 生 方 法 。
9 . 上 記 既 存 の プ ロ グ ラ ム に エ ラ 一 処 理 の 記 述 が 含 ま れ て い る 場 合 に は , そ の エ ラ 一 処 理 を 取 扱 う た め の W 0 4 ノ1? レ ッ ト , W 0 2 ノ、 レ ッ ト お よ び W 0 3 ノ レ ヅ ト の 組 を 別 に 設 け る ,
請 求 の 範 囲 第 6 項 に 記 載 の プ ロ グ ラ ム 再 生 方 法 。
1 0 . L y e eの 開 発 手 法 以 外 の 方 法 で 作 成 さ れ た 既 存 の プ ロ グ ラ ム を , そ の 既 存 の プ ロ グ ラ ム が 達 成 す る 機 能 を 01 :) v| 、 Ζ 0 Νί ^ ^ > ¾ vf/ ¾ §1 # G9 ^ ' ? } 2i ^
m: *} ' ΐ t
° ¾ ¾ ¾ マ . Π j
' ¾ 4- 银 -1 ¾ ^ ¾ 2} If J- 1 09 «¾. Q9 挲 產 ^ 謝 マ ^
ω m m c ¾ ¾ ¾ ^ ¾ D ¾ ΐ ¾ B 99 1 ¾ i 4
。、 ¾ ? } ¾ί $ ¥ ^ ^
¾ ^ Φ マ ロ : ω #
1 A W 01 r} 。 © 凝 ¾ ?) ¾ — ω © -I ε 0 Λ ^ 0 ' ^ 、 s o ω
2. 1 C ) » ¾ ¾r ^ » g 亩 ω ' ¾ §1 亩 ω 士 ' I
^ :) ^ ¾ §1 亩 つ
' q tfl t¾ a. ¾ η Κ ϋ ¾ 3 Υ ω is co Λ T ¾: ¾ ¾ ¾ ¾ 暫 ^ si亩 ω ' ¾ §1 亩 ¾ w i ' マ ^ ^ α © マ ^ ロ ^ SI T
' つ 蓽 ¾ ¾ m 餚 マ ^ ^ ロ 0) 凝 ¾ © (?? ¾ ¾ » *
¾ ¾: If ^ w ^ ^ ω v ε 0 Λ ί? ^ 、 ゝ( ^ 0 ' 4 、 。、 Ζ 0 ' 、 2} ¾ ¾ ¾ ^ η w m c f 2) マ ^ A ロ ^ G9 ^ ¾ <5 マ ^ Α 口 ^ © ¾
' q ¾p i ¾ ^ ¾ :) マ 。 ム Θ 3 '
88
9T6.0/00df/X3d CIZSC/10 OAV 抽 出 し た 単 語 が 出 力 処 理 に 用 い ら れ る 定 義 体 に 属 す る 場 合 に は , そ の 単 語 を 少 な く と も W 0 4 ノ レ ツ 卜 に 割 付 け る ,
請 求 の 範 囲 第 1 0項 に 記 載 の プ ロ グ ラ ム 再 生 方 法 。
1 2 . 抽 出 し た 単 語 が , 抽 出 し た 定 義 体 の い ず れ に も 属 し て い な い 単 語 で あ る 場 合 に は , そ の 単 語 を 割 付 け る た め の 基 本 構 造 を 動 作 さ せ る 複 数 の プ ロ グ ラ ム 構 成 要 素 を 別 に 用 意 す る ,
請 求 の 範 囲 第 1 0項 に 記 載 の プ ロ グ ラ ム 再 生 方 法 。
1 3 . 上 記 既 存 の プ ロ グ ラ ム に エ ラ 一 処 理 の 記 述 が 含 ま れ て い る 場 合 に は , そ の エ ラ 一 処 理 を 取 扱 う た め の 基 本 構 造 を 動 作 さ せ る 複 数 の プ ロ グ ラ ム 構 成 要 素 を 別 に 用 意 す る ,
請 求 の 範 囲 第 1 0項 に 記 載 の プ ロ グ ラ ム 再 生 方 法 。
1 4 . 既 存 の プ ロ グ ラ ム の 命 令 文 ま た は 命 令 の う ち , 単 語 に よ っ て 表 さ れ る フ ィ 一 ル ド に 格 納 さ れ る べ き デ ー 夕 を 生 成 す る た め の 命 令 文 ま た は 命 令 を , 上 記 複 数 の プ ロ グ ラ ム 構 成 要 素 の う ち デ 一 夕 生 成 の た め の プ ロ グ ラ ム 構 成 要 素 に 従 う 形 に 変 換 す る ,
請 求 の 範 囲 第 1 0項 に 記 載 の プ ロ グ ラ ム 再 生 方 法 。
1 5 . 既 存 の プ ロ グ ラ ム の 命 令 文 ま た は 命 令 の う ち , 2 以 上 の 単 語 を 含 む 命 令 文 ま た は 命 令 に つ い て ,
そ の 命 令 文 ま た は 命 令 に 用 い ら れ て い る 2 以 上 の 単 語 の そ れ ぞ れ が 割 付 け ら れ て い る 2 以 上 の パ レ ツ 卜 の w $ 拏 ^ ¾ ¾ § SQ: S ¾ エ ^ « ¾ §3 ¾' ¾ ¾: c r) t » * ¾ ¾ ¾ M Q9 r?r z ' n §g ¾ B ¾ SI Τ ' 8 ΐ マ ロ ω ¾» ::) Μτθΐ ϋ Η ω m
^ ω m m マ ^ ^ ロ © ^ ¾ ^ 丁 再 ^ ¾ ω 搶 * s M -- ^ ^ W ω - ' マ ^ . α © ^ · 11 マ π ^ ω 漣 ^ :: iroi ll H co ^ m
(
— ω 挲 達 ^ 搶 マ . § · 賊 ί ) ^ m ^ 秦 達 ^ 講 マ ^ ^ ロ T ' ¾ ^ Φ « ^ ^ ^ ¾ S W Y - ½ * ¾ マ ^ , ロ ^ ω ¾ · 9 ΐ マ α ø » El i Mi 0 ΐ H H ¾ ® 本 «
' S A W PI 2] ω 璨 \
A ^\ ( z 0 Λ ί? M \( Z 0 ' 4
0 ¾ §1 * ¾ ¾ ϋ ' ) ¾: 鹦 副( ¾ ^ M a
Figure imgf000092_0001
u Λ 亩 T r?r τ 0: 军 二) ov r ii: ^ ^ w $ ^
' 再 ¾ ¾ 亩 n ^ i Q) ^ ^ Vi '-i ^ ^ ^ '- ^ ^ ' つ 2) ^ ^ ?)
^ m ¾; ΐ i q 鹦 ¾ 廳 ⑦ ¾ i ω 09 T w 2 ί ¾ ^ ^ § a. Μ 4- ¾ ¾ * Hi ω ¾ ^ ' ^ ¾ W
06
9T6.0/00df/X3d ^ - ^ 挲 箠 ^ 掛 マ . α ι ω ϋ Κ ¾ ^ 2)
4 § 、 w · ί* # § 亩 蚺 ¾ ' ^ ^
: Η ¥ ^ ^ ¾ η « ' 2) ^ ¾ : $ ffl W ^
^ Φ ¥ ^ ^ Φ} 挲 φ 搠 【i余 © 亩 姆 ¾
' つ ^ ^ φ : ρ) ^ ^ Φ} ¾ 4 拏 ¾ 拥 Γι* ω m is m ^ ' ¾ 二) マ ^ ^ ロ ® ¾t ffi * 0 ζ
° ¾ ¾ a マ α ^ ø » EI 2} Mi 0 ΐ M m ϋ 本 II
' 2 ^ i ^ 二) ¾ ;:) 案 達 ^ 敏 マ ^ A .
¾ w « ¥ ¾ / ¥ γ ω ^ 掛 マ ^ ロ
09 ¾ ¾ ¾ 2} q ん 9r 4 ¾ ^ φ ffl 4^ 一 ^
« : ¥ ^ }
¾ ¾ n w w ' ^ ^ ^ m ^ ^ ^ } \ :4·
^ 拏 ¾ ¾ ffi 一 》 ^ ^ U- X ^
つ ¾ ^ ¾ ^ ^ 一 ^ \ : ^ } ¾ γ 一 ' s 】 ¾ κ マ ^ . α 09 # ^ ' 61
マ A α G9 ¾ El 2) tfi Α ΐ ¾ H ¾ ω 本 II
' 4 锇 ¾ j ¾
^ ¾ 案 蓮 ¾9 講 マ ^ ロ © Q? ii Γι* ¾ ¾ ¾ ^ ® 峯 達 ^ 掛 マ ^ , ロ 璨 09 4 S £Ρ :) ¾ ^ 09
^ ¾ ^ HI Τ ' ¾ ^ ^ ί ¾ ?) ^ ^ ¥ ^ Φ Φί っ マ α ω 2 Τ ¾ ^ ^ Φ ) ^ ^ ^ Φ
拏 φ} a ^ fl ^ ^ ¾ι ^ ω ¾ ¾
16
9T6.0/00df/X3d CIZSC/10 OAV の た め の プ ロ グ ラ ム 構 成 要 素 に 従 う 形 に 変 換 す る , 請 求 の 範 囲 第 1 0項 に 記 載 の プ ロ グ ラ ム 再 生 方 法 。 2 1 . L y e eプ ロ グ ラ ム を 構 成 す る 複 数 の プ ロ グ ラ ム 構 成 要 素 を 記 憶 す る 第 1 の 記 憶 手 段 ,
既 存 の プ ロ グ ラ ム に 基 づ い て 作 成 さ れ る 処 理 経 路 図 か ら 得 ら れ る パ レ ッ ト 連 鎖 関 数 情 報 , 基 本 構 造 情 報 , パ レ ッ ト 情 報 , 定 義 体 情 報 , 経 路 情 報 お よ び コ マ ン ド 情 報 を 記 憶 す る 第 2 の 記 憶 手 段 ,
与 え ら れ る 既 存 の プ ロ グ ラ ム を 記 憶 す る 第 3 の 記 憶 手 段 ,
第 3 の 記 憶 手 段 に 記 憶 さ れ た 既 存 の プ ロ グ ラ ム に 用 い ら れ て い る 単 語 を , 上 記 第 2 の 記 憶 手 段 に 記 憶 さ れ た パ レ ッ ト 連 鎖 関 数 情 報 , 基 本 構 造 情 報 , パ レ ッ ト 情 報 お よ び 定 義 体 情 報 に 基 づ い て , そ の 単 語 が 関 連 す る 基 本 構 造 に 含 ま れ る W 0 4 ノ、' レ ツ ト , W 0 2 ノ、。 レ ツ ト お よ び W 0 3 ノ レ ツ ト の う ち 一 ま た は 複 数 の ノ レ ツ ト に 割 付 け る 第 1 の 割 付 け 手 段 , お よ び
第 3 の 記 憶 手 段 に 記 憶 さ れ た 既 存 の プ ロ グ ラ ム の 各 命 令 文 ま た は 命 令 を , 上 記 第 2 の 記 憶 手 段 に 記 憶 さ れ た 経 路 情 報 お よ び コ マ ン ド 情 報 に 基 づ い て , そ の 命 令 文 ま た は 命 令 に 含 ま れ る 単 語 が 割 付 け ら れ た 一 ま た は 複 数 の パ レ ッ ト に お け る 上 記 第 1 の 記 憶 手 段 に 記 憶 さ れ た 複 数 の プ ロ グ ラ ム 構 成 要 素 の い ず れ か に 従 う 形 に 変 換 す る 変 換 手 段 , を 備 え た プ ロ グ ラ ム 再 生 装 置 。
2 2 . 既 存 の プ ロ グ ラ ム の 命 令 文 ま た は 命 令 を 読 込 む 命 令 文 ま た は 命 令 読 込 み 手 段 を 備 え た ,
請 求 の 範 囲 第 2 1項 に 記 載 の プ ロ グ ラ ム 再 生 装 置 。 2 3 . 上 記 第 1 の 割 付 け 手 段 は , 上 記 読 込 み 手 段 に よ つ て 読 込 ま れ た 命 令 文 ま た は 命 令 に 用 い ら れ て い る 単 語 が 入 力 処 理 に 用 い ら れ る 定 義 体 に 関 連 す る 場 合 に は , そ の 単 語 を 少 な く と も W 0 2 ノ レ ツ 卜 に 割 付 け ,
読 込 ま れ た 命 令 文 ま た は 命 令 に 用 い ら れ て い る 単 語 が 出 力 処 理 に 用 い ら れ る 定 義 体 に 関 連 す る 場 合 に は , そ の 単 語 を 少 な く と も W 0 4 ノ、。 レ ツ 卜 に 割 付 け る , 請 求 の 範 囲 第 2 2項 に 記 載 の プ ロ グ ラ ム 再 生 装 置 。 2 4 . 上 記 読 込 み 手 段 に よ っ て 読 込 ま れ た 命 令 文 ま た は 命 令 の う ち , 2 以 上 の 単 語 を 含 む 命 令 文 ま た は 命 令 に つ い て , そ の 命 令 文 ま た は 命 令 に 用 い ら れ て い る 2 以 上 の 単 語 の そ れ そ れ が 割 付 け ら れ て い る 2 以 上 の パ レ ッ 卜 の 関 係 が , 所 定 の 順 序 を 満 た す 関 係 で あ 'る か ど う か を 判 定 す る 判 定 手 段 ,
上 記 判 定 手 段 に よ っ て 2 以 上 の ノ レ ッ 卜 の 関 係 が 所 定 の 順 序 を 満 た し て い な い と 判 定 さ れ た 場 合 に , 読 込 ま れ た 命 令 文 ま た は 命 令 を 複 数 の 命 令 文 ま た は 命 令 に 分 解 し , 分 解 さ れ た 命 令 文 ま た は 命 令 の そ れ そ れ に 新 た な 単 語 を 含 ま せ る 手 段 , お よ び
分 解 さ れ た 命 令 文 ま た は 命 令 の そ れ そ れ に 含 ま れ る 2 以 上 の 単 語 が 割 付 け ら れ る 2 以 上 の パ レ ツ 卜 の 関 係 が 所 定 の 順 序 を 満 た す よ う に , 新 た な 単 語 を 一 ま た は 複 数 の ノ レ ツ 卜 に 割 付 け る 第 2 の 割 付 け 手 段 ,
を 備 え た 請 求 の 範 囲 第 2 2項 に 記 載 の プ ロ グ ラ ム 再 生 装 置 。
2 5 . 上 記 読 込 み 手 段 に よ っ て 読 込 ま れ た 命 令 文 ま た は 命 令 に 用 い ら れ て い る 単 語 が 端 点 単 語 で あ る か , ま た は 始 点 単 語 で あ る か を 識 別 す る 端 点 単 語 / 始 点 単 語 識 別 手 段 ,
を 備 え た 請 求 の 範 囲 第 2 2項 に 記 載 の プ ロ グ ラ ム 再 生 装 置 。
2 6 . 上 記 第 1 の 記 憶 手 段 に は , デ ー タ 生 成 の た め の プ ロ グ ラ ム 構 成 要 素 が 記 憶 さ れ て お り ,
上 記 変 換 手 段 は ,
既 存 の プ ロ グ ラ ム の 命 令 文 ま た は 命 令 の う ち , 単 語 に よ っ て 表 さ れ る フ ィ ー ル ド に 格 納 さ れ る べ き デ ー タ を 生 成 す る た め の 命 令 文 ま た は 命 令 を , 上 記 複 数 の プ ロ グ ラ ム 構 成 要 素 の う ち 上 記 デ ー タ 生 成 の た め の プ ロ グ ラ ム 構 成 要 素 に 従 う 形 に 変 換 す る ,
請 求 の 範 囲 第 2 1項 に 記 載 の プ ロ グ ラ ム 再 生 装 置 。 2 7 . 上 記 第 1 の 記 憶 手 段 に は , W 0 4 ノ レ ッ ト , W 0 2 ノ レ ツ ト お よ び W 0 3 ノ、' レ ツ 卜 の 組 を 統 括 的 に 制-御 す る プ ロ グ ラ ム 構 成 要 素 が 記 憶 さ れ て お り ,
上 記 変 換 手 段 は , ) : ί ^ ^ 拏 ¾ ¾ flp — Ώ
^ q: γ ^ - -L ' 、 耷 コ) ¾ 2 マ α ® ¾1 ¾
' α ^ W ¾ S ^ 秦 達 ¾9 » マ ^ ^ α
i^ i^ ^ ii ^ ^ ^ Y ' ?) ri ¾ ^ ¾ 2i ω τ ¾ 21 τ · G Z
。 喜 ¾ ¾ ¾ マ A a ω » gi ) ΒΊ ΐ 2 ¾ H ¾ ω ϊΐ
' ¾ ^ 2) ¾ ¾ 二) 挲 產 ^ 講 マ ^ ^ α ^ ω ο? ω 拥 Γι余 剁 ¾ 2 Τ
產 ¾9 謝 マ ^ ^ α ^ ω 凝 翬 ω 4 ^ ¾ ^ ¾ι ^ ω
§S ¾ EI Τ
' ?) ¾ ΐ ^ SI Τ 勦 ¾ ¾ * W ^ ^ ^ S ^ ^ ^ S ff! W ^ マ ^ ロ ^ ω * ϊ! 2 Τ ^ ^ : p} 军 拏 ' -
、 ¾ ) ¾ ¾ gg ¾ W $ 翳 2 2) ¾ ¾ ¾ ® Z H SI Τ
' Q ^ $ 斟 ^ s(? ¾ 逢 ¾¾ί » マ ^ a ^ ω Qsi ω \ ^ ' ?) ¾ ΐ ^ ø§ ω τ m Τ ' 82
° s¾¾aマ ロ ^ 0) 獯 2 ) ιπζ¾面
一 ω 案 達 ^ 講 マ ^ ^ ロ ^ 賊 j ¾Θ sf ¾ q ε o M Λ τ 4 \( ζ ο ' Μ Ο Μ Κ Τ Ο? 挲 達 ^ » マ 敏 ffl 画 ^ :^ ^ ^ © マ ロ ft) ^
96
9T6.0/00df/X3d CTZSC/IO OAV
. ^ m ^ ^ ^ ^ m ω ^ ^ ^ Ί ' Π ¾ if
¾ ^ 斜 S ^ 褻 マ ^ A ロ : r ' ¾ マ ^ ^ ロ ω ¾ α ^ ¾a ^> a. ¾ © ¼ YCT ¾ ^ ¾ ^ a? 9 " Ί - τ ε 。 喜 ¾ ¾ ¾ マ ロ ω » 2 ::) ΐπζ第 画 ¾ ω * II ' § ¾ 二) ^ ¾ 二) 挲 達 ^ 謝 マ 口 ム φ :4· — 案 達 ^ 敏 マ ^ ^ ロ 凝 ¾ A £f j q ¾ ϋ A >W il s §1 亩 姆 ¾ ω 9r ' ^
^ } ¾ ?) ¾ ^ ¥ ^ ^ ¾ ω ^ ' 2i ^ fi - ^ $ W ^ ^ φ f ) ^ ^ ¾ 4 拏 « 「i余 ® §i 亩 蚺 ¾
' ?) ¾ ΐ n τ
' 酈 ¾ ¾ ΐ峯
Figure imgf000098_0001
m ¾ § ¾ ¾ ^ ^ ¥) ^ } 4 拏 ¾ ¾ 拥 「|余 ω Si亩 ffl ¾ ' 、 S :) iF 2g マ ^ 口 ^ ω ¾
敏 マ ^ α ι ω ^ ω ^ ^ - ^ ' ?) Γ) ¾ ^ ¾ 2i 0) τ ¾ 0ΐ τ · ο ε
。 喜 ¾ ¾ S マ A a ^ Z) ® SI i Mi I 2 ¾ H ¾ ω ^ ¾
9r 敏 ^ 3 ¾ί ¾ ) 挲 達 ^ 講 マ ^ ロ ^ ® w ω ¾
¥ W ¥) ¾ ^ ¾ ¥ Υ 01 Τ ¾ 挲 逢 ^ 餚 マ ^ . a ^ Q) ϋ ¾ ¾ ^ 2i ^ V s ¾ s ¾ ff? — f )
^ ΦΙ ^ ί^ Υ ^ - ^ ω ^ ' ¾ ^ } ¾ ¥) ¾ ¥ ^ ^ ¾ if: ff? ' 2) ^ ¾ ¾ ^ Fp W ^ ^ ^ ^ ?) ¾ί ^ ^
^ ^ · 拏 ^ ¾ — ^ Y 一 ^
' ?) ¾ ΐ ¾ ^ SI Τ
96
9T6.0/00df/X3d CTZSC/IO OAV 新 た な プ ロ グ ラ ム に 再 生 す る プ ロ グ ラ ム 再 生 装 置 を 制 御 す る プ ロ グ ラ ム で あ っ て
上 記 既 存 の プ ロ グ ラ ム の 命 令 文 ま た は 命 令 で 用 い ら れ て い る 単 語 が 属 す る 定 義 体 の 種 類 を , 既 存 の プ ロ グ ラ ム か ら 得 ら れ る ノ レ ツ ト 連 鎖 関 数 情 報 , 基 本 構 造 情 報 , パ レ ツ ト 情 報 お よ び 定 義 体 情 報 に 基 づ い て 判 別 さ せ ,
属 す る 定 義 体 の 種 類 が 判 別 さ れ た 上 記 単 語 に つ い て , 読 込 ま れ た 命 令 文 ま た は 命 令 に 基 づ い て , そ の 単 語 が 割 付 け ら れ る べ き ノ、" レ ッ 卜 の 種 類 を 判 別 さ せ ,
判 別 さ れ た 定 義 体 の 種 類 お よ び パ レ ツ 卜 の 種 類 に 応 じ て , 上 記 単 語 を 一 ま た は 複 数 の パ レ ツ 卜 に 割 付 け る よ う に 上 記 プ ロ グ ラ ム 再 生 装 置 を 制 御 す る 割 付 け プ ロ グ ラ ム ,
を 記 録 し た 記 録 媒 体 。
3 2 . 上 記 単 語 が 用 い ら れ て い る 命 令 文 ま た は 命 令 の 種 類 に 基 づ い て , 上 記 命 令 文 ま た は 命 令 で 用 い ら れ て い る 単 語 が 端 点 単 語 で あ る か , ま た は 始 点 単 語 で あ る か を 判 別 さ せ ,
命 令 文 ま た は 命 令 で 用 い ら れ て い る 単 語 が , 端 点 単 語 ま た は 始 点 単 語 で あ る こ と が 判 定 さ れ た 場 合 に , 上 記 命 令 文 ま た は 命 令 で 用 い ら れ て い る 単 語 に 端 点 単 語 で あ る 旨 ま た は 始 点 単 語 で あ る 旨 を 表 す 識 別 子 を 付 与 す る よ う に 上 記 プ ロ グ ラ ム 再 生 装 置 を 制 御 す る 割 付 け プ ロ グ ラ ム
を 記 録 し た 請 求 の 範 囲 第 3 1項 に 記 載 の 記 録 媒 体 。 3 3 . L y e e 7° ロ グ ラ ム を 構 成 す る 複 数 の プ ロ グ ラ ム 構 成 要 素 を 記 憶 し た 記 憶 装 置 を 備 え , L y e eの 開 発 手 法 以 外 の 方 法 で 作 成 さ れ た 既 存 の プ ロ グ ラ ム を , 上 記 既 存 の プ ロ グ ラ ム が 達 成 す る 機 能 を 維 持 し て , L y e eの 開 発 手 法 に 従 う パ レ ツ ト 構 造 を 持 つ 新 た な プ ロ グ ラ ム に 再 生 す る プ ロ グ ラ ム 再 生 装 置 を 制 御 す る プ ロ グ ラ ム で あ つ て ,
上 記 既 存 の プ ロ グ ラ ム は , 単 語 が 割 付 け ら れ る べ き 一 ま た は 複 数 の ノ レ ッ ト に 関 す る 情 報 が , 上 記 既 存 の プ ロ グ ラ ム の 命 令 文 ま た は 命 令 で 用 い ら れ て い る 単 語 に つ い て 付 与 さ れ て い る も の で あ り ,
上 記 既 存 の プ ロ グ ラ ム の 命 令 文 ま た は 命 令 を , そ の 命 令 文 ま た は 命 令 に 含 ま れ る 単 語 に 付 与 さ れ た 割 付 パ レ ツ 卜 に 関 す る 情 報 に よ っ て 特 定 さ れ る ノ S レ ヅ ト に お け る 複 数 の プ ロ グ ラ ム 構 成 要 素 の い ず れ か に 従 う 形 に 変 換 す る よ う に , プ ロ グ ラ ム 再 生 装 置 を 制 御 す る 変 換 プ ロ グ ラ ム
を 記 録 し た 記 録 媒 体 。
3 4 . 上 記 複 数 の プ ロ グ ラ ム 構 成 要 素 に は デ 一 夕 生 成 の た め の プ ロ グ ラ ム 構 成 要 素 が 含 ま れ て お り ,
上 記 変 換 プ ロ グ ラ ム は ,
単 語 に よ つ て 表 さ れ る フ ィ 一 ル ド に 格 納 さ れ る べ き デ ー タ を 生 成 す る た め の 命 令 文 ま た は 命 令 を , 上 記 複 数 の プ ロ グ ラ ム 構 成 要 素 の う ち デ ー タ 生 成 の た め の プ ロ グ ラ ム 構 成 要 素 に 従 う 形 に 変 換 す る ,
請 求 の 範 囲 第 3 3項 に 記 載 の 記 録 媒 体 。
3 5 . 上 記 複 数 の プ ロ グ ラ ム 構 成 要 素 に は 複 数 の パ レ ヅ 卜 の 組 を 統 括 的 に 制 御 す る プ ロ グ ラ ム 構 成 要 素 が 含 ま れ て お り ,
上 記 変 換 プ ロ グ ラ ム は ,
画 面 に 対 す る 入 出 力 処 理 を 行 う 命 令 文 ま た は 命 令 を , 上 記 複 数 の プ ロ グ ラ ム 構 成 要 素 の う ち 複 数 の ノ レ ッ 卜 の 組 を 統 括 的 に 制 御 す る プ ロ グ ラ ム 構 成 要 素 の 一 部 と す る ,
請 求 の 範 囲 第 3 3項 に 記 載 の 記 録 媒 体 ,
3 6 . 上 記 複 数 の プ ロ グ ラ ム 構 成 要 素 に は 経 路 判 断 の た め の プ ロ グ ラ ム 構 成 要 素 が 含 ま れ て お り ,
上 記 変 換 プ ロ グ ラ ム は ,
既 存 の プ ロ グ ラ ム か ら 得 ら れ る 経 路 情 報 に 基 づ い て , そ の 経 路 の 分 岐 条 件 を 表 す 条 件 命 令 文 ま た は 条 件 命 令 を 上 記 既 存 の プ ロ グ ラ ム か ら 抽 出 さ せ ,
抽 出 さ れ た 条 件 命 令 文 ま た は 条 件 命 令 を , 上 記 分 岐 元 に お け る パ レ ッ 卜 の 複 数 の プ ロ グ ラ ム 構 成 要 素 の う ち 経 路 判 断 の た め の プ ロ グ ラ ム 構 成 要 素 に 従 う 形 に 変 換 す る ,
請 求 の 範 囲 第 3 3項 に 記 載 の 記 録 媒 体 。 9 敏 ^ :) ::) 察 達 ^ 敏 マ ^ α ω ο?
^ - ^ 挲 逢 ^ 講 マ ^ . α ^ 凝
D 4 9: W ί) ^ 躍 ^ 亩 姆 09 ' ¾ ^ ^ } ¾ ?} ¾ ^ ¥ Φ ¾ ω c 2) ^ ® ¾ α ^ W « ^
^ φ} ^ :ρ) χ ^ 挲 ^ 拥 ^ §| 亩 ¾
' つ 攀 ^ ¾ ^ ^ φ ¾ « ^ ^ ^ 拏 ¾ ^ © §| 亩 姆 ¾ ¾ マ ^ ロ 09 ^
' f ) マ ^ ^ ロ 澍 ^ T ' Q ^ 案 蓮 ^ 餚 マ ^ A d ^ Q Q? ω ¾¾ ¾ — Ώ コ) 案 講 マ ^ ロ ^ ω 凝 K 2g T · 8£
° m Ϊ ^ £ m m ω m
^ コ) 峯 逢 ^ 褂 マ ^ Α α ^ ω ς;? ω ¾ ^ ΑΡ ^ 肇 g ^ 謝 マ ^ 口
^ c m m ^ ^ ^ ^i 、 ^ 4 ¾ ¾ £ί 一 ^
?) ¾! ^ } ¾ Y ^ - ω ¾ ' ¾ ^ ^ ¾ ¥) : ί ^ ^ ί ¾ ω 9r ' ?) 25 fi ¾ ^ ^ FR W ^ ^ ^ ¾ ¾ ί ¥ ^ ¾ 拏 Φ W ^ — Ώ ^ ^ 丫 ^ — , ' っ ^ ^ ^ ^ 《 军 挲 Φ W — 、 Ώ ^ ^ Y 4 — ^ マ ^ α # ¾
ί マ ロ ^ ^ 2 Τ
'
^ i ^ ^ ^ 挲 箠 ^ 掛 マ Α 口 /: © g?
T ¾ Y 挲 S ¾y » マ . α ¾ ¾ 2 丁 - 1 ε
001
9T6.0/00df/X3d CIZSC/10 OAV ^ © 9r ' ¾ ^ ^ ?} ^ ¾:
' ¾ ΐ
PI ¾ - (-) ) 據 ¾ ^ ^ ー 9 ¾ ϋ 亩
CO 9r ' Si 亩 w ^ W W T ¾ 脚 Si # 01 τ '
S ) ^ 3 flp Y ω Si 亩 脚 c- ri ¾ ΐ fR 瞬 ^ 3 (¥ W Y SI T Λ ^ Έ ω ^ ¾ Si ¾
瞬 G T :) ¾ ΐ ffi i m \ / §i 01 τ
W W ^ 3
3 W T
9 ^ v A a ^ 09 ¾ ¾ ^ ^ Y c ® ΐ W W ¾ ii M *} W m ^ ^ m m
¾ ^ v a : ω # $i ^ C Y
^ ^ m m 亩 9r FR K ¾ §i 亩 マ ^ A d ^ f
'da ΐ w w » ¾
§ 4 FF! 脚 ¾ ¾ ¾ マ ^ ^ a $ Y
' ¾ ΐ γ «¾ 4 γ マ ^ Α πι ^ ω # ¾
£ ¾ ΐ 01 ¾ SI ¾ ¾ 逢 ^ 謝 マ ^ . α : ω 凝 ¾ ¾ 4 ¾y ¾ マ Π 99
' 喜 25 v ^ a
¾ ^ ^ c ¾ ¾ ¾ ¾ ¾ ) ¾ ^ ¾ ϋ ω 99 ί 1 ' っ 会 ί »
¾ ^ 髒 <¾ ^ ¾y ii ^ マ ^ ^ ロ ' ¾ マ 口 ^ ω ¾s ¾ ^ ¾¾ί ^> i ¾ ^ ω ¼ τ ¾ ΐ ¾ S a? 99 · 6 ε
° ® 21 ω » 01 D MI ε ¾ Η ¾ ω * II ΐθΐ
9T6.0/00df/X3d CTZSC/IO OAV
。 喜 ¾ ¾ ¾ マ ^ ^ ¾
' ¾ 稱 ^ § ^ 敏 ^ ^ ¾ W . 、 ω 挲 逢 ^ 敏 マ α ω 凝 ¾
¾ ^ ^ ¾ 21 ) ¾ ΐ ¾ 2121 Τ ¾ 4 \( Q) M ^ ^ — W ¾ ^ P暈 ^ ^ 南 1? ^ 琴 ^ Φ « ¥ ^
9l6,0/00df/X3d fIZSC/lO O
PCT/JP2000/007916 1999-11-11 2000-11-10 Procede et dispositif de reproduction de programme, et support de programme pour enregistrement de reproduction de programme WO2001035213A1 (fr)

Priority Applications (4)

Application Number Priority Date Filing Date Title
NZ512711A NZ512711A (en) 1999-11-11 2000-11-10 Program reproducing method and device, and medium on which a program for program reproduction recording
CA002359079A CA2359079A1 (en) 1999-11-11 2000-11-10 Program reproducing method and device, and medium on which a program for program reproduction recording
AU13054/01A AU760395B2 (en) 1999-11-11 2000-11-10 Program reproducing method and device, and medium on which program for program reproduction recording
EP00974893A EP1248189A4 (en) 1999-11-11 2000-11-10 PROGRAM REPRODUCTION METHOD AND DEVICE, AND PROGRAM MEDIUM FOR PROGRAM REPRODUCTION RECORDING

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP11/321788 1999-11-11
JP32178899 1999-11-11

Publications (1)

Publication Number Publication Date
WO2001035213A1 true WO2001035213A1 (fr) 2001-05-17

Family

ID=18136430

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2000/007916 WO2001035213A1 (fr) 1999-11-11 2000-11-10 Procede et dispositif de reproduction de programme, et support de programme pour enregistrement de reproduction de programme

Country Status (8)

Country Link
EP (1) EP1248189A4 (ja)
KR (1) KR100407009B1 (ja)
CN (1) CN1251066C (ja)
AU (1) AU760395B2 (ja)
CA (1) CA2359079A1 (ja)
NZ (1) NZ512711A (ja)
RU (1) RU2260206C2 (ja)
WO (1) WO2001035213A1 (ja)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005029322A1 (ja) * 2003-09-22 2005-03-31 Catena Corporation ソフトウェアの生成方法
WO2005029321A1 (ja) * 2003-09-19 2005-03-31 Catena Corporation プログラムの変換方法及び変換ツール
WO2005029323A1 (ja) * 2003-09-22 2005-03-31 Catena Corporation ソフトウェア生成方法
WO2006038303A1 (ja) * 2004-10-07 2006-04-13 Catena Corporation ソフトウェア生成方法

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6496640B2 (ja) * 2015-09-14 2019-04-03 株式会社エクサ Cobolソースコード変換プログラム

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0210429A (ja) * 1988-06-28 1990-01-16 Mitsubishi Electric Corp プログラム構造化処理方式
WO1998019232A1 (fr) * 1996-10-30 1998-05-07 Information System Development Institute Procede de production de logiciel, procede de traitement et support d'enregistrement
WO1999049387A1 (fr) * 1998-03-20 1999-09-30 Information System Development Institute Dispositif et procede servant a produire un logiciel

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5950004A (en) * 1996-09-13 1999-09-07 The United States Of America As Represented By The Secretary Of The Navy Model-based process for translating test programs

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0210429A (ja) * 1988-06-28 1990-01-16 Mitsubishi Electric Corp プログラム構造化処理方式
WO1998019232A1 (fr) * 1996-10-30 1998-05-07 Information System Development Institute Procede de production de logiciel, procede de traitement et support d'enregistrement
WO1999049387A1 (fr) * 1998-03-20 1999-09-30 Information System Development Institute Dispositif et procede servant a produire un logiciel

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP1248189A4 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005029321A1 (ja) * 2003-09-19 2005-03-31 Catena Corporation プログラムの変換方法及び変換ツール
WO2005029322A1 (ja) * 2003-09-22 2005-03-31 Catena Corporation ソフトウェアの生成方法
WO2005029323A1 (ja) * 2003-09-22 2005-03-31 Catena Corporation ソフトウェア生成方法
JPWO2005029323A1 (ja) * 2003-09-22 2007-11-15 カテナ株式会社 ソフトウェア生成方法
WO2006038303A1 (ja) * 2004-10-07 2006-04-13 Catena Corporation ソフトウェア生成方法

Also Published As

Publication number Publication date
EP1248189A1 (en) 2002-10-09
NZ512711A (en) 2003-01-31
KR100407009B1 (ko) 2003-11-28
CN1251066C (zh) 2006-04-12
AU1305401A (en) 2001-06-06
CA2359079A1 (en) 2001-05-17
RU2260206C2 (ru) 2005-09-10
AU760395B2 (en) 2003-05-15
KR20010103708A (ko) 2001-11-23
CN1337022A (zh) 2002-02-20
EP1248189A4 (en) 2005-01-05

Similar Documents

Publication Publication Date Title
US9390084B2 (en) Natural language parsers to normalize addresses for geocoding
US7310784B1 (en) Methods for identifying cells in a path in a flowchart and for synchronizing graphical and textual views of a flowchart
JPH0458052B2 (ja)
WO2001035213A1 (fr) Procede et dispositif de reproduction de programme, et support de programme pour enregistrement de reproduction de programme
JPH0540616A (ja) プログラム仕様生成方法
JP2002014845A (ja) テスト・スクリプト部品の自動生成方法および装置
JP2007226358A (ja) アプリケーション生成装置、アプリケーション生成方法、およびアプリケーション生成プログラム
JPH11353164A (ja) ソースプログラム生成システムおよびソースプログラム生成方法ならびにチャート生成システムおよびチャート生成方法
JP2004318809A (ja) 情報抽出規則生成装置および方法
JPH0689166A (ja) 部品処理記述展開方式
WO2021255910A1 (ja) 開発支援装置、プログラム及び開発支援方法
JP2626174B2 (ja) 翻訳支援装置
JPH08179938A (ja) 仕様書自動生成装置及び方法
JP3141945B2 (ja) コンパイル装置
JPS59231649A (ja) コンパイルリスト出力処理方式
JPS6266371A (ja) テキスト分離型学習システム
JPH06282424A (ja) プログラム設計書の自動作成装置
JPH0581316A (ja) 自然言語文の意味抽出方法及び装置
JPH07200583A (ja) 数量/時間表現処理方式
JPH0546370A (ja) プログラム生成装置
JPS6381543A (ja) フアイル管理方式
JPH03271936A (ja) 図式プログラムパターン入力方式
JPH1031585A (ja) 仕様書入力によるプログラミング自動生成方式
JPH08314707A (ja) ソフトウェアの開発支援システム
JPH0375962A (ja) 文書データの変換補助装置

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 00802699.8

Country of ref document: CN

AK Designated states

Kind code of ref document: A1

Designated state(s): AU CA CN IN JP KR NZ RU SG US

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): AT BE CH CY DE DK ES FI FR GB GR IE IT LU MC NL PT SE TR

WWE Wipo information: entry into national phase

Ref document number: 1020017006862

Country of ref document: KR

ENP Entry into the national phase

Ref document number: 2359079

Country of ref document: CA

Ref document number: 2359079

Country of ref document: CA

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 2001 536681

Country of ref document: JP

Kind code of ref document: A

WWE Wipo information: entry into national phase

Ref document number: 512711

Country of ref document: NZ

WWE Wipo information: entry into national phase

Ref document number: 09868893

Country of ref document: US

WWE Wipo information: entry into national phase

Ref document number: IN/PCT/2001/00607/DE

Country of ref document: IN

WWE Wipo information: entry into national phase

Ref document number: 2000974893

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 13054/01

Country of ref document: AU

121 Ep: the epo has been informed by wipo that ep was designated in this application
WWP Wipo information: published in national office

Ref document number: 2000974893

Country of ref document: EP

WWG Wipo information: grant in national office

Ref document number: 13054/01

Country of ref document: AU

WWW Wipo information: withdrawn in national office

Ref document number: 2000974893

Country of ref document: EP