发明授权
US4712189A Table driven translator 失效
表驱动翻译器

  • 专利标题: Table driven translator
  • 专利标题(中): 表驱动翻译器
  • 申请号: US663944
    申请日: 1984-10-23
  • 公开(公告)号: US4712189A
    公开(公告)日: 1987-12-08
  • 发明人: Shunji Mohri
  • 申请人: Shunji Mohri
  • 申请人地址: JPX Tokyo
  • 专利权人: Hitachi, Ltd.
  • 当前专利权人: Hitachi, Ltd.
  • 当前专利权人地址: JPX Tokyo
  • 主分类号: G06F9/45
  • IPC分类号: G06F9/45 G06F9/00
Table driven translator
摘要:
A table driven translator is provided which is capable of translating an input language into a machine-oriented language and handing changes in the syntax of the language inputted to a computer by rewriting a translation rule table. The translator comprises an input device for inputting an input language to the computer, an internal storage for storing a name table for registering keywords associated with the syntax of the input language and characteristics of variable contained in the input language, and for storing an interpretation table for indicating procedures to control a flow of processing for interpreting the input language, and a control device for searching the name table to obtain an address of a location in the internal store device at which desired reserved words or a 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 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.
信息查询
0/0