发明名称 Table driven translator.
摘要 <p>A table driven translator is provided which is capable of translating an input language into a machine-oriented language, coping with the change in the syntax of the language inputted to a computer by rewriting a translation rule table. The translator comprises an input device (1) for inputting an input language to the computer, an internal storage (4) for storing a name table (41) for registering keywords associated with the syntax of the input language and characteristics of variables contained in the input language, and for storing an interpretation table (42) for indicating procedures to control a flow of processing for interpreting the input language, and a control device (5) for searching the name table to obtain an address of a location in the internal store device at which a desired reserved words or keyword is stored and to obtain from the name table an attribute of the keyword and variable and for checking whether or not the reserved word coincides with the input language syntax by a comparator (55) comparing the attribute with an attribute stored in a field at a location indicated by a table pointer in the interpretation table, that is, the reserved word is assumed to be conforming to the input language syntax if these attributes are equal to each other, thereby to execute an interpretation processing and to translate the input language into a machine-oriented language suitable for a desired computer. The maintainability and expandability of language processing in the computer is improved.</p>
申请公布号 EP0142735(A2) 申请公布日期 1985.05.29
申请号 EP19840112800 申请日期 1984.10.24
申请人 HITACHI, LTD. 发明人 MOHRI, SHUNJI
分类号 G06F9/45;(IPC1-7):G06F9/44 主分类号 G06F9/45
代理机构 代理人
主权项
地址