K
Keith Thompson
jacob navia said:Le 22/09/10 00:54, (e-mail address removed) a écrit :
I know. Leave like it is, do not change anything since it would break
existing code. Leave existing bugs since they are known and only affect
new users, since the old ones know all the tricks.
Sarcasm *really* isn't helpful, jacob.
Breaking existing code is a real concern, you cannot reasonably
ignore it.
This kind of reasoning is known, and proven false for decades, but it
will be proposed by the same people again and again, and this discussion
has been done a hundred of times.
What exactly has been "proven false"? Seemingly simple changes to
standards really do cause problems.
The examples of Thompson are easy to solve. Whitespace after a backslash
is not ignored NOW and if we change line splicing behavior concerning
comments it should stay the same as it is now. The line splicing AFTER
comments parsing has nothing to do with all OTHERS usages of splicing as
Mr Thompson mistakenly proposes. All his examples are NOT any problem
with line splicing AFTER comment parsing.
Concerning strings, apparently Mr Thompson did not receive my earlier
explanation: Within a string, a backslash followed by CR should join the
two lines, as it does now. This is a slight change in the syntax of
strings that gets a new escape sequence. Nothing really complex.
Yes, I did see your earlier explanation. In your later message,
you said that all that was needed was the "simple" change of
performing line-splicing after comment recognition. If you're
seriously proposing a change to the standard, it's going to be
difficult to keep track if the various pieces of it are scattered
across different articles.
I asked several specific questions, starting with whether you intend to
swap translation phases 2 and 3. You didn't directly address them.
You've said (I think) that the overall idea of the translation phase
model is ok. How *exactly* does your proposed change fit into it?
If you can give us an unambiguous idea of what you're proposing,
then we can determine which corner cases are affected and how.
(And *maybe* we'll conclude that they're not so important that they
prevent adoption of your proposal.)