|[4 earlier articles]|
|Re: Is multi-level function return possible? email@example.com (2014-03-16)|
|Re: Is multi-level function return possible? firstname.lastname@example.org (Andy Walker) (2014-03-16)|
|Re: Is multi-level function return possible? email@example.com (Bill Findlay) (2014-03-17)|
|Re: Is multi-level function return possible? firstname.lastname@example.org (2014-03-18)|
|Re: Is multi-level function return possible? email@example.com (Andy Walker) (2014-03-21)|
|Re: Is multi-level function return possible? firstname.lastname@example.org (glen herrmannsfeldt) (2014-03-21)|
|Re: design of PL/I, was Is multi-level function return possible? email@example.com (glen herrmannsfeldt) (2014-03-21)|
|Re: design of PL/I, was Is multi-level function return possible? firstname.lastname@example.org (noitalmost) (2014-03-26)|
|From:||glen herrmannsfeldt <email@example.com>|
|Date:||Fri, 21 Mar 2014 06:43:10 +0000 (UTC)|
|Organization:||Aioe.org NNTP Server|
|References:||14-03-020 14-03-022 14-03-025 14-03-030 14-03-044 14-03-046 14-03-047 14-03-048 14-03-053 14-03-054|
|Keywords:||PL/I, history, comment|
|Posted-Date:||21 Mar 2014 12:21:31 EDT|
(snip, I wrote)
> As well as I understand it, the language was pretty well defined
> before anyone tried writing a compiler for it.
> [PL/I was, as I understand it, defined largely by glomming together
> parts of Fortran and Cobol with some bits of Algol60. They assumed it
> would be possible to implement since all of the pieces were, although
> there turned out to be a lot of dark corners where things that seemed
> reasonable individually weren't so reasonable in combination. -John]
I know Fortran and ALGOL well enough from that time, but not COBOL.
I only recently learned that COBOL only has 1D arrays, so that
arrays of structures of arrays of ... are used instead.
One feature of PL/I (F) that, as I understand it, complicated
the implementation is multitasking. I don't know COBOL well
enough to know if it was in there.
Otherwise, even without dark corners things still get somewhat
more complicated in combination.
But also, it seems that they intentionally allowed the combinations
of features to work together. When new features are added to Fortran
(and many original PL/I features have now been added) they have
restrictions on how they can be used in combination with other
features. That complicates programming, as you have to be careful
which features you use.
On the other hand, there are more PL/I compilers than Fortran 2008
[None of the predecessor languages had any sort of multitasking. PL/I
F had a lot of features that directly mapped on to OS/360 features,
e.g. locate mode I/O, and multitasking was one of them. -John]
Return to the
Search the comp.compilers archives again.