Home | Notes | Languages | Programs | Homework |
Re: 3304 P1 Qns |
Stephen Edwards (edwards@CS.VT.EDU)
Wed, 14 Feb 2001 16:17:41 -0500
Message-ID: <3A8AF5F5.4898A94@cs.vt.edu> Date: Wed, 14 Feb 2001 16:17:41 -0500 From: Stephen Edwards <edwards@CS.VT.EDU> Subject: Re: 3304 P1 Qns
Toby Vaught wrote:
> Is there going to be at most one adverb
> following a verb in a legitimate verb phrase?
The BNF answers this unambiguously. There may be only one adverb.
> For example, if there is a
> verb followed by two adverbs, should it be an invalid sentence?
Yes.
> The second
> question is whether it is possible to have an adverb followed by a verb.
Again, the BNF answers this unambiguously (as you conclude in your
other comments, which I've deleted here). The adverb may only follow
the verb.
Always interpret the BNF literally--if it isn't in there, then it
can't appear in legitimate ("grammatically correct") sentences.
This is always true of BNF in general.
-- Steve
-- Stephen Edwards 604 McBryde Hall Dept. of Computer Science e-mail : edwards@cs.vt.edu U.S. mail: Virginia Tech (VPI&SU) office phone: (540)-231-5723 Blacksburg, VA 24061-0106 -------------------------------------------------------------------------------
Home | Notes | Languages | Programs | Homework |