发明名称 APL-to-Fortran translators
摘要 The present invention relates to apparatus and method for translating computer programs in an application from an array source language-having attributes of APL-to a scalar target language. In particular, source language primitive functions-which can be used in different cases-are represented by archetypes having code that is selectable based on applicable case(s). In determining which case (or cases) applies, each program is re-structured into a sequence of simple source language expressions and a static analysis is performed. The static analysis, which includes a shape analysis of arrays in a program, provides information useful in determining cases for archetypes and for determining whether code generated for a particular simple expression may be beneficially merged with code generated for another simple expression. In one embodiment, the source language is translated to target language code which is, in turn, compiled by a target language compiler, thereby providing a two-step source language compiler.
申请公布号 US5142681(A) 申请公布日期 1992.08.25
申请号 US19900577841 申请日期 1990.08.31
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 DRISCOLL, GRAHAM C.;ORTH, DONALD L.
分类号 G06F9/44;G06F9/45 主分类号 G06F9/44
代理机构 代理人
主权项
地址