What does a restrictive ‘as’ clause modify?

We discussed socialism as allowed by law.

A learner on ELL asked whether it is “socialism or the discussion itself” which is allowed by law. I responded that the phrase could only be understood as involving “legally allowed discussion” if “set off with a comma (or expressed with corresponding comma-intonation in speech) or moved to an earlier position”;

without a comma, as allowed by law is understood to be a restrictive modifier on socialism: what we discussed might be expressed as “legally allowed socialism”.

I think that absent some contrary context I was substantially correct. On consideration, however, another angle on this occurs to me: that the meaning of the as clause does in a sense ‘overflow’ onto the verb: it is not merely socialism which is restricted to a specific aspect of that topic but the discussion of it as well.

I was in part prompted to this reflection by another question, raised first on ELL and subsequently in somewhat different form on Linguistics: Do predicative adjuncts modify nouns or verbs. The very cogent answer provided may not be directly relevant but it is at least suggestive.

How do we parse as clauses like these?

We discussed socialism as allowed by law.
As written, the sentence implies that it is socialism which is allowed by law.

ADDED:

That is, supposing that it is given that we are discussing socialism only insofar as socialism is allowed by law and not as it is in other contexts, does not that also imply that discuss as well as socialism is modified by the clause as allowed by law? And if it is given that it a sentence has certain implications only insofar as the sentence is treated as a written text and not under other categories, does not that also imply that implies as well as sentence is modified by as written?

And does it make any difference if we write

We discussed socialism as it is allowed by law.
As it is written, the sentence implies that it is socialism which is allowed by law.


Solution 1:

The parsing of the as clause depends on intended usage; the as clause can modify the nearest substantive if used adjectivally, but can also modify the nearest verb (or other part of speech) if used adverbially.

Firstly, the function of the as clause must be evaluated. In this circumstance (and in similar usages), the multifaceted word as is applied as a preposition, in the sense of "in the capacity, character, condition, or role of". Therefore, its usage must be considered under the general properties of prepositional phrases.

A prepositional phrase can function either as an adverb or adjective, so an as clause can function identically. However, because the as clause acts as a modifier, the rules of modifier placement apply. Therefore, the position of the as clause may indicate which word it modifies, although this doesn't work in all contexts.

Here is an example of an as clause functioning adverbially (modifying the word discussed):

Because the KGB was monitoring them, they discussed the Party only as allowed by law.

Here is an example of an as clause functioning adjectivally (modifying the word party):

Wondering if the noise pollution would attract unwanted attention, they discussed their wild fraternity party as allowed by law.

If an adverbial as clause is intended, moving the clause closer to the verb (i.e., improving modifier placement) may eliminate ambiguity, as follows:

Exercising our right to free speech, we discussed, as allowed by law, whether the Supreme Court ruling was valid.

Clearly, as you illustrated with your "kitten" example, the parsing depends on context.

Addendum:

I have difficulty regarding the phrase as allowed by law as applying to both the noun socialism and the verb discussed. Being used adjunctively, I would assume it could only apply to one of the words.

You perhaps could construct the as clause as a disjunct, as follows:

As allowed by law, we discussed socialism.

In this construction, it would apply to the sentence as a whole. However, it would not apply specifically to both the verb discussed and the noun socialism. Additionally, in order to use the clause disjunctively, the as clause must be placed at the beginning or end of the sentence and be followed (or preceded) by a comma.

In sentences where the placement of an adjunctive as clause causes ambiguity (this can be considered a form of a misplaced modifier), the as clause can be interpreted as either modifying the verb or noun. When this ambiguity is intentionally employed to give a sentence a double meaning, it could even be considered a form of zeugma, a rhetorical device in which "a word modifies or governs two or more words so that it applies to each in a different sense".

Here is a general example of zeugma:

He fished for compliments and salmon.

Here is a subtle instance of zeugma with an as clause:

The prophecy was fulfilled as it was written.

The as clause appears as though it refers to two things simultaneously, because one cannot determine which word it actually modifies. This gives the sentence a double meaning. If we interpret the as clause as modifying prophecy, then the sentence means that the prophecy was fulfilled exactly as foretold. However, if we interpret it as modifying fulfilled, then the sentence means that the prophecy was being fulfilled while it was being written. By intentionally placing the modifier at an ambiguous position, I could employ zeugma. (The example was not as illustrative as I would prefer, but it was the only example that I could devise right now.)

Solution 2:

The only question is what the speaker actually said.
Remember, writing is only a way of recording actual human speech.

If the speaker indicated by intonation or other device a separation of as required by law
from the rest of the sentence, as here represented by the comma, then it refers to
discussion as allowed by law.

If, on the other hand, the speaker did not indicate this by intonation, then it refers to socialism as allowed by law.

As, per se, has nothing to do with it; this is simply the distinction between
restrictive and nonrestrictive relative clauses.