Re: PL/I syntax, was Java Comment-Preserving Grammar

Peter Flass <Peter_Flass@Yahoo.com>
26 Jun 2004 23:53:47 -0400

          From comp.compilers

Related articles
Java Comment-Preserving Grammar matthew-google@faredge.com.au (2004-05-24)
Re: Java Comment-Preserving Grammar jens.troeger@light-speed.de (2004-06-06)
Re: Java Comment-Preserving Grammar gah@ugcs.caltech.edu (glen herrmannsfeldt) (2004-06-09)
Re: Java Comment-Preserving Grammar cfc@shell01.TheWorld.com (Chris F Clark) (2004-06-11)
Re: Java Comment-Preserving Grammar gah@ugcs.caltech.edu (glen herrmannsfeldt) (2004-06-13)
Re: Java Comment-Preserving Grammar cfc@shell01.TheWorld.com (Chris F Clark) (2004-06-15)
Re: PL/I syntax, was Java Comment-Preserving Grammar alexc@std.com (Alex Colvin) (2004-06-21)
Re: PL/I syntax, was Java Comment-Preserving Grammar Peter_Flass@Yahoo.com (Peter Flass) (2004-06-26)
| List of all articles for this month |
From: Peter Flass <Peter_Flass@Yahoo.com>
Newsgroups: comp.compilers
Date: 26 Jun 2004 23:53:47 -0400
Organization: Road Runner
References: 04-05-075 04-06-004 04-06-022 04-06-041 04-06-057 04-06-071 04-06-083 04-06-083
Keywords: PL/I
Posted-Date: 26 Jun 2004 23:53:47 EDT

Alex Colvin wrote:
> [The PL/I standard has a special case for iSUB, and it appears that
> you can't put spaces there. You can't put spaces in bit string
> constants either, e.g. '0031'B2 which we all know is an eight bit string
> expressed in quat. -John]


I'm not sure about the standard, but some compilers, perhaps notably the
IBM "Enterprise" PL/I's allow "break characters ("_") in bit strings and
numbers. '1000_0000'B is '80'x; 123_456 is equivalent to 123456.



Post a followup to this message

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