[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: More semantics



On Mon, 26 Jun 2006 dyb@xxxxxxxxxxxxxx wrote:

- I am unable to figure out what this means from the context:

   "... and the marks match if the marks recorded
   with the substitution are the same as those that
   appear below, i.e., were applied before the substitution in the wrap."

The wording isn't great.  Does the following help?

 "... and the marks match if the marks recorded with the substitution
 are the same as those that appear below the substitution in the wrap,
 i.e., those that were applied before the substitution.

The idea is that substitutions are affected by the marks that are present
when the substitution is applied.

Actually, this is clearer to me after further thought.  However, the
preceding sentence is still rather confusing to me:

"The expander resolves
identifier references by looking for the latest matching substitution to be applied to the identifier, i.e., the outermost substitution in the wrap whose name and marks match the name and marks recorded in the substitution."

Should the last word here be "substitution"? Otherwise I don't know how to make sense of it, since it seems to say that
one is matching a substitution to itself.

I actually think the whole paragraph makes sense if one simply cuts the part of the sentence starting with "i.e." out completely (at least then I have the illusion of understanding the whole thing).

Regards
Andre