Re: SAME AS ('02 Standard) Clause - and circulatiy
- From: "William M. Klein" <wmklein@xxxxxxxxxxxxxxxxx>
- Date: Fri, 31 Aug 2007 03:23:11 GMT
Clearly I made a mistake in saying
"the standard does (or should) tell implementers in what order to do things"
what I meant to say was
"the standard does NOT (or should NOT) tell implementers in what order to do
things"
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 now not
going into the next revision).
As far as "6.4 Logical conversion" as described on page 28 and following, this
applies (as I think you may have recognized) during the "text manipulation
stage" (because that is where "source text" and "library text" is dealt with.
When you say,
"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>"
This is indeed the "crux of the matter", i.e. the COBOL Standard is very careful
in NOT providing rules for the order in which stuff needs to be done during the
compilation stage. It tells implementers what they must do - but leaves it up
to them how to accomplisth it.
--
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 manipulationstage
and the compilation stage.constant
The text manipulation stage accepts an initial compilation group, performs
modifications specified by COPY and REPLACE statements and conditional
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,but my
Once again, you can submit an interpretation request IF YOU WANT TO,
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).
.
- Follow-Ups:
- Re: SAME AS ('02 Standard) Clause - and circulatiy
- From: Rick Smith
- Re: SAME AS ('02 Standard) Clause - and circulatiy
- 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
- SAME AS ('02 Standard) Clause - and circulatiy
- Prev by Date: Re: SAME AS ('02 Standard) Clause - and circulatiy
- Next by Date: Re: SAME AS ('02 Standard) Clause - and circulatiy
- Previous by thread: Re: SAME AS ('02 Standard) Clause - and circulatiy
- Next by thread: Re: SAME AS ('02 Standard) Clause - and circulatiy
- Index(es):
Relevant Pages
|