摘要 |
PURPOSE:To improve the efficiency of syntax analysis and semantic analysis by describing a meaning analyzing function or the like by utilizing a reinforced term allowed to be described in a syntax analyzing program. CONSTITUTION:A grammar describing file 1 capable of describing an auxiliary program as a syntax analyzing program and having a reinforced term is converted into a grammar describing file 2 obtained by filling a description part of the reinforced term with a semantic analyzing function, an argument and data by processing 3, and when a program is executed based upon the file 2, a syntax tree is allowed to grow or deleted while checking the semantic suitability of the syntax tree on the way of generation of the syntax tree by syntax analysis. The processing 3 outputs a list-up table 4 for filled functions. When an end mark is included in the grammar of the file 1, the grammar is filled with data by referring to the end mark and a data correspondence table 5 corresponding to the mark in order to generate semantic analyzing data. |