Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Regular grammar
(section)
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!
{{Short description|Type of formal grammar}} In [[theoretical computer science]] and [[formal language theory]], a '''regular grammar''' is a [[formal grammar|grammar]] that is ''right-regular'' or ''left-regular''. While their exact definition varies from textbook to textbook, they all require that * all [[production (computer science)|production rule]]s have at most one [[Terminal and nonterminal symbols|non-terminal symbol]]; * that symbol is either always at the end or always at the start of the rule's right-hand side. Every regular grammar describes a [[regular language]].
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)