Re: PL/I arcana, was language design implications for variant records in a pascal-like language

compilers@is-not-my.name
Mon, 17 Jan 2011 22:51:04 -0000

          From comp.compilers

Related articles
Re: language design implications for variant records in a pascal-like compilers@is-not-my.name (2011-01-16)
Re: PL/I arcana, was language design implications for variant records compilers@is-not-my.name (2011-01-17)
Re: Language arcana [was PL/I arcana] robin51@dodo.com.au (robin) (2011-01-19)
| List of all articles for this month |
From: compilers@is-not-my.name
Newsgroups: comp.compilers
Followup-To: comp.lang.pl1
Date: Mon, 17 Jan 2011 22:51:04 -0000
Organization: Compilers Central
References: 11-01-063
Keywords: PL/I, history
Posted-Date: 18 Jan 2011 01:04:53 EST

> > [IF THEN = ELSE THEN IF = ELSE; ELSE IF = THEN; -John]
>
> Ha! When I get a chance I may try compiling that under PL/I...!


Ok. Here it is. If I had not compiled it myself I would not have believed
it!


OPTIONS SPECIFIED


OBJECT,NODECK;




OPTIONS USED


INSOURCE NOAGGREGATE NOCOMPILE(S)
LMESSAGE NOATTRIBUTES CMPAT(V2)
OBJECT NODECK FLAG(I)
OPTIONS NOESD LANGLVL(OS,NOSPROG)
SOURCE NOGONUMBER LINECOUNT(55)
STMT NOGOSTMT MARGINS(2,72,0)
                              NOGRAPHIC SEQUENCE(73,80)
                              NOIMPRECISE SIZE(4137144)
                              NOINCLUDE NOSYNTAX(S)
                              NOINTERRUPT SYSTEM(MVS)
                              NOLIST
                              NOMACRO
                              NOMAP
                              NOMARGINI
                              NOMDECK
                              NONEST
                              NONUMBER
                              NOOFFSET
                              NOOPTIMIZE
                              NOSTORAGE
                              NOTERMINAL
                              NOTEST
                              NOXREF
5688-235 IBM PL/I for MVS & VM LOGIC: PROC OPTIONS(MAIN); PAGE 2




                                        SOURCE LISTING




        STMT




              1 LOGIC: PROC OPTIONS(MAIN); 00040005
              2 DCL (IF, THEN, ELSE) CHAR; 00050005
                                                                                                                                          00060005
              3 BEGIN; 00070005
              4 IF THEN = ELSE THEN IF = ELSE; ELSE IF = THEN; 00080005
              6 END; 00090005
              7 END;
              00100000
5688-235 IBM PL/I for MVS & VM LOGIC: PROC OPTIONS(MAIN); PAGE 3




NO MESSAGES PRODUCED FOR THIS COMPILATION




COMPILE TIME 0.00 MINS SPILL FILE: 0 RECORDS, SIZE 4051




NUMBER OF TEMPORARY VARIABLES USED: 3. NUMBER AVAILABLE: 65532




END OF COMPILATION OF LOGIC


> [For more info about PL/C. see
> http://ecommons.cornell.edu/handle/1813/5952


Thanks for the link. It looks like a good doc resource!


> I don't know if the code is still around, but it'd be easy enough to
> ask if anyone wants to run it on Hercules.


I have not seen it available, although IBM's early PL/I compilers are. If
anyone does find a copy I'd be interested in installing it.


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.