Regular Grammar - Extended Regular Grammars

Extended Regular Grammars

An extended right regular grammar is one in which all rules obey one of

  1. Ba - where B is a non-terminal in N and a is a terminal in Σ
  2. AwB - where A and B are in N and w is in Σ*
  3. A → ε - where A is in N and ε is the empty string.

Some authors call this type of grammar a right regular grammar (or right linear grammar) and the type above a strictly right regular grammar (or strictly right linear grammar).

An extended left regular grammar is one in which all rules obey one of

  1. Aa - where A is a non-terminal in N and a is a terminal in Σ
  2. ABw - where A and B are in N and w is in Σ*
  3. A → ε - where A is in N and ε is the empty string.

Some authors call this type of grammar a left regular grammar and the type above a strictly left regular grammar.

Read more about this topic:  Regular Grammar

Famous quotes containing the words extended, regular and/or grammars:

    All the Valley quivered one extended motion, wind
    undulating on mossy hills
    Allen Ginsberg (b. 1926)

    My attitude toward punctuation is that it ought to be as conventional as possible. The game of golf would lose a good deal if croquet mallets and billiard cues were allowed on the putting green. You ought to be able to show that you can do it a good deal better than anyone else with the regular tools before you have a license to bring in your own improvements.
    Ernest Hemingway (1899–1961)

    The violent illiteracies of the graffiti, the clenched silence of the adolescent, the nonsense cries from the stage-happening, are resolutely strategic. The insurgent and the freak-out have broken off discourse with a cultural system which they despise as a cruel, antiquated fraud. They will not bandy words with it. Accept, even momentarily, the conventions of literate linguistic exchange, and you are caught in the net of the old values, of the grammars that can condescend or enslave.
    George Steiner (b. 1929)