Re: SAME AS ('02 Standard) Clause - and circulatiy
- From: "Rick Smith" <ricksmith@xxxxxxx>
- Date: Fri, 31 Aug 2007 00:09:50 -0400
"William M. Klein" <wmklein@xxxxxxxxxxxxxxxxx> wrote in message
news:yQLBi.16969$VU2.9343@xxxxxxxxxxxxxxxxxxxxxxxxx
Clearly I made a mistake in sayingthings"
"the standard does (or should) tell implementers in what order to do
to do
what I meant to say was
"the standard does NOT (or should NOT) tell implementers in what order
things"
No, that part was OK! There was, effectively, another
negative that I compensated for to get to a positive form.
I showed an ellipsis. Correctly restated assertions might
be "The standard tells implementers in what order to do
things only in the text manipulation stage.", or "The
standard does not tell implementers in what order to do
things in the compilation stage."
The effective negative that I omitted was concerning
your belief in my thinking ("... my impression is that you
think ..."); which, when taken out of context, is actually
a very nice thing to say. <g>
I do have WD 1.7 (of the NEXT standard) but don't want to quote that now -as
the direction is to go back to WD 1.6 (to get rid of the TR's that are nownot
going into the next revision).this
As far as "6.4 Logical conversion" as described on page 28 and following,
applies (as I think you may have recognized) during the "text manipulationwith.
stage" (because that is where "source text" and "library text" is dealt
had
When you say,
"If the compilation stage were described in such terms, we would not have
these conversations and all would be right with the world. <g>"careful
This is indeed the "crux of the matter", i.e. the COBOL Standard is very
in NOT providing rules for the order in which stuff needs to be doneduring the
compilation stage. It tells implementers what they must do - but leavesit up
to them how to accomplisth it.manipulation
--
Bill Klein
wmklein <at> ix.netcom.com
"Rick Smith" <ricksmith@xxxxxxx> wrote in message
news:13df16qdkumu47a@xxxxxxxxxxxxxxxxxxxxx
"William M. Klein" <wmklein@xxxxxxxxxxxxxxxxx> wrote in message
news:PbKBi.24130$nT6.17542@xxxxxxxxxxxxxxxxxxxxxxxxx
According to page 29 of the approved '02 Standard,
This quote appears to be from page 30 of WD 1.7, though
I notice it is missing the marks identifying changes from the
2002 standard. Was the FDIS changed during the approval
process?
"The actions of compiler directing statements and compiler directivesoccur in
two logical stages of compilation group processing - the text
performsstage
and the compilation stage.
The text manipulation stage accepts an initial compilation group,
TO,modifications specified by COPY and REPLACE statements and conditionalconstant
compilation directives, and substitutes compilation variables into
entries. The result is a structured compilation group for processing bythe
compilation stage.structured
The compilation stage completes the compilation process utilizing the
compilation group."
Are we talking about different things here?
Maybe! You wrote "... the standard does (or should) tell
implementers in what order to do things." Then in the following
sentence and compensating for the double negative formed by
"Other" and "NOT", you identified "'text manipulation' and
'compilation'" as specifying "in what order to do things".
However "compilation", the processing of the structured
compilation group, is the where I try to find order, while you
insist that "HOW" of this processing is determined by the
implementor. Thus I saw your statements as inconsistent.
Furthermore, you mention "stages" while I mention those
items where "order" is mentioned, or implied.
From page 28, "The rules of logical conversion are applied
to each line of a compilation group in the order that lines of
source text and library text are obtained by the compiler."
From page 30, the phrases "input lines are accepted
sequentially", "processed in the order encountered", and
"applied in order" express certain actions of the three
phases of text manipulation.
If the compilation stage were described in such terms, we
would not have had these conversations and all would be
right with the world. <g>
"Rick Smith" <ricksmith@xxxxxxx> wrote in message
news:13deheh482ri440@xxxxxxxxxxxxxxxxxxxxx
"William M. Klein" <wmklein@xxxxxxxxxxxxxxxxx> wrote in message
news:DwEBi.220952$Bo7.80428@xxxxxxxxxxxxxxxxxxxxxxxxx
Rick,
Once again, you can submit an interpretation request IF YOU WANT
but my
impression is that you think the standard does (or should) tellimplementers in
what order to do things. Other than the "text manipulation" and"compilation"
stages, this is simply NOT true.
I think you may have meant "logical conversion" (one line at
a time) and "text manipulation" (three phases).
.
- References:
- SAME AS ('02 Standard) Clause - and circulatiy
- From: William M. Klein
- Re: SAME AS ('02 Standard) Clause - and circulatiy
- From: Rick Smith
- Re: SAME AS ('02 Standard) Clause - and circulatiy
- From: William M. Klein
- Re: SAME AS ('02 Standard) Clause - and circulatiy
- From: Rick Smith
- Re: SAME AS ('02 Standard) Clause - and circulatiy
- From: William M. Klein
- Re: SAME AS ('02 Standard) Clause - and circulatiy
- From: Rick Smith
- Re: SAME AS ('02 Standard) Clause - and circulatiy
- From: William M. Klein
- SAME AS ('02 Standard) Clause - and circulatiy
- Prev by Date: Re: SAME AS ('02 Standard) Clause - and circulatiy
- Next by Date: How to find the greatest of two numbers without using the comparison operators?
- Previous by thread: Re: SAME AS ('02 Standard) Clause - and circulatiy
- Next by thread: Compiling forward references
- Index(es):
Relevant Pages
|