Editing
Formal Languages
(section)
Jump to navigation
Jump to search
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!
== <span style="color: #FFFFFF;">Remembering</span> == * '''Formal Language''' β A set of "Strings" of symbols that are "Well-formed" according to a specific set of "Rules" (Grammar). * '''Grammar''' β The set of "Production Rules" that tell you how to "Build" a valid sentence. * '''Terminal Symbols''' β The "Actual words" or "Characters" in the language (e.g., 'A', 'B', '+', 'IF'). * '''Non-terminal Symbols''' β The "Placeholders" used in the rules (e.g., 'Noun', 'Verb', 'Expression'). * '''Derivation''' β The step-by-step "Process" of using the rules to "Create" a sentence. * '''The Chomsky Hierarchy''': # '''Type 0: Recursively Enumerable''' β The "Wild West" (Any rule). Needs a **Turing Machine**. # '''Type 1: Context-Sensitive''' β The rules depend on what is "Around" the word. Needs a **Linear Bounded Automaton**. # '''Type 2: Context-Free''' β The "Standard" for programming; rules are simple and "Nested." Needs a **Pushdown Automaton**. # '''Type 3: Regular''' β The simplest: simple "Patterns" or "Sequences." Needs a **Finite State Machine**. * '''Alphabet (Sigma)''' β The set of all "Legal Characters" in the language. * '''String''' β A finite "Sequence" of symbols from the alphabet. * '''Empty String (Epsilon)''' β A string with "Zero characters." * '''Parser''' β A computer program that "Checks" if a sentence "Follows the Grammar." </div> <div style="background-color: #006400; color: #FFFFFF; padding: 20px; border-radius: 8px; margin-bottom: 15px;">
Summary:
Please note that all contributions to BloomWiki 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
BloomWiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information