Invention Grant
US08527968B2 Translation device, translation method, and storage medium for program 失效
翻译设备,翻译方法和程序存储介质

  • Patent Title: Translation device, translation method, and storage medium for program
  • Patent Title (中): 翻译设备,翻译方法和程序存储介质
  • Application No.: US13259914
    Application Date: 2010-03-26
  • Publication No.: US08527968B2
    Publication Date: 2013-09-03
  • Inventor: Jun Eguchi
  • Applicant: Jun Eguchi
  • Applicant Address: JP Tokyo
  • Assignee: NEC Corporation
  • Current Assignee: NEC Corporation
  • Current Assignee Address: JP Tokyo
  • Agency: Sughrue Mion, PLLC
  • Priority: JP2009-075783 20090326
  • International Application: PCT/JP2010/055387 WO 20100326
  • International Announcement: WO2010/110430 WO 20100930
  • Main IPC: G06F9/45
  • IPC: G06F9/45
Translation device, translation method, and storage medium for program
Abstract:
A declaration translation unit (104) compiles a declaration of variables in overlapping storage areas in a first language to a declaration of independent data variables and respective corresponding flag variables in a second language; an assignment translation unit (105) compiles an assignment to the variables in the areas in the first language so that, in the second language, whether or not the values of the variables are valid is checked assuming that the assignment to the respective overlapping data variables is performed, the results are saved in flag variables for respective variables, and the assignment is performed only to valid data variables; and a reference translation unit (106) compiles the reference of the variables in the areas in the first language so that, in the second language, if the flag variable is valid, the value of the data variable is returned, and if invalid, an exception is occurred.
Information query
Patent Agency Ranking
0/0