From: | "Tom Linden" <tom@kednos.company> |
Newsgroups: | comp.compilers,comp.lang.pl1 |
Date: | Sun, 26 Aug 2007 07:24:44 -0700 |
Organization: | Kednos |
References: | 07-08-016 07-08-021 07-08-024 07-08-034 07-08-037 07-08-040 07-08-041 07-08-044 07-08-051 07-08-054 |
Keywords: | parallel, PL/I |
Posted-Date: | 28 Aug 2007 15:49:03 EDT |
On Sun, 19 Aug 2007 22:12:19 -0700, James J. Weinkam <jjw@cs.sfu.ca> wrote:
> If you are going to have array expressions and assignments
> compatible with the current IBM compilers then according to the
> Enterprise LRM:
>
> 1. Array expressions are evaluated element by element in row major
> order, and
> 2. An array assignment is equivalent to a set of nested loops which
> effectively perform a series of scalar assignments in row major
> order.
> This obviates the need for array temporaries except for the final
> result of an array expression.
> The description in the Enterprise manual is essentially identical to
> that which appeared in the F and Optimizer reference manuals back in
> th 60's and 70's.
> For both array expressions and array assignments all arrays involved
> must have the same number of dimensions and identical bounds.
We do the same with our (ANSI) compiler.
--
PL/I for OpenVMS
www.kednos.com
Return to the
comp.compilers page.
Search the
comp.compilers archives again.