Global Patent Index - EP 0252229 B1

EP 0252229 B1 19960626 - Apl-to-fortran translator

Title (en)

Apl-to-fortran translator

Title (de)

APL-Fortran-Übersetzer

Title (fr)

Traducteur APL-fortran

Publication

EP 0252229 B1 19960626 (EN)

Application

EP 87105698 A 19870416

Priority

US 88273786 A 19860707

Abstract (en)

[origin: EP0252229A2] The present invention relates to apparatus and method (200) for translating computer programs in an application from an array source language (SLC) -- having attributes of APL -- to a scalar target language (TLC). In particular, source language primitive functions -- which can be used in different cases -- are represented by archetypes (206) 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 (202) and a static analysis (204) is performed. The static analysis (204), which includes a shape analysis of arrays in a program, provides information useful in determining cases for archetypes (206) 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 (208) which is, in turn, compiled by a target language compiler, thereby providing a two-step source language compiler.

IPC 1-7

G06F 9/44

IPC 8 full level

G06F 9/44 (2006.01); G06F 9/45 (2006.01)

CPC (source: EP)

G06F 8/41 (2013.01); G06F 8/51 (2013.01)

Designated contracting state (EPC)

DE FR GB IT

DOCDB simple family (publication)

EP 0252229 A2 19880113; EP 0252229 A3 19920311; EP 0252229 B1 19960626; DE 3751848 D1 19960801; DE 3751848 T2 19970123; JP H0774999 B2 19950809; JP S6314240 A 19880121

DOCDB simple family (application)

EP 87105698 A 19870416; DE 3751848 T 19870416; JP 13201187 A 19870529