摘要 |
PURPOSE:To efficiently check the syntax of RPG language, by providing a table, in which the priority and checking items for performing syntax check and entry of higher order related to the said entry are stored in parallel. CONSTITUTION:An inputted source program 1 is first inputted in a syntax decision section 2 and the section 2 decides that the program 1 has the syntax of RPG language and, at the same time, stores entry and checking items in a table 3 in accordance with priority. Moreover, the syntax decision section 2 registers entry of higher priority related to the entry next to the entry. For example, the section 2 reregisters A related to an entry B next to the B. A compiler 4 converts the RPG language into a machine language in accordance with the registered order of the table 3 and checks the syntax and the grammer of a grammer storing section 5.
|