home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD1.mdf / pascal / library / dos / sampler / 02 / parser / g4eng.pas < prev    next >
Encoding:
Pascal/Delphi Source File  |  1987-10-06  |  418 b   |  13 lines

  1. START { SENTENCE @psn @nl }
  2. SENTENCE   NOUN-PHRASE { WHO-PH | PREP-PHRASE } VERB-PHRASE NOUN-PHRASE { PREP-PHRASE } .
  3. VERB-PHRASE  { ADVERB } VERB
  4. NOUN-PHRASE  { DET } { ADJECTIVE } NOUN
  5. PREP-PHRASE PREPOSITION DET   NOUN-PHRASE
  6. WHO-PH  INDEF VERB ADJECTIVE
  7. ADVERB     slowly
  8. VERB       is | pulled
  9. ADJECTIVE red | tall | big
  10. DET a | the
  11. NOUN boy | wagon | bridge | street
  12. PREPOSITION in | under
  13. INDEF who