Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Niidae Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Regular grammar
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Extended regular grammars == An ''extended right-regular grammar'' is one in which all rules obey one of # ''A'' β ''w'', where ''A'' is a non-terminal in ''N'' and ''w'' is in a (possibly empty) string of terminals Ξ£<sup>*</sup> # ''A'' β ''wB'', where ''A'' and ''B'' are in ''N'' and ''w'' is in Ξ£<sup>*</sup>. Some authors call this type of grammar a ''right-regular grammar'' (or ''right-linear grammar'')<ref>{{cite book | isbn=0-201-02988-X | author=John E. Hopcroft and Jeffrey D. Ullman | title=Introduction to Automata Theory, Languages, and Computation | location=Reading/MA | publisher=Addison-Wesley | year=1979 | url-access=registration | url=https://archive.org/details/introductiontoau00hopc }} Here: p.217 (left, right-regular grammars as subclasses of [[context-free grammar]]s), p.79 (context-free grammars)</ref> and the type above a ''strictly right-regular grammar'' (or ''strictly right-linear grammar'').<ref>Hopcroft and Ullman 1979 (p.229, exercise 9.2) call it a normal form for right-linear grammars.</ref> An ''extended left-regular grammar'' is one in which all rules obey one of # ''A'' β ''w'', where ''A'' is a non-terminal in ''N'' and ''w'' is in Ξ£<sup>*</sup> # ''A'' β ''Bw'', where ''A'' and ''B'' are in ''N'' and ''w'' is in Ξ£<sup>*</sup>.
Summary:
Please note that all contributions to Niidae Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Encyclopedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
Regular grammar
(section)
Add topic