FIT2014 Lecture Notes - Lecture 10: Context-Free Grammar, Terminal And Nonterminal Symbols

78 views3 pages
Lecture 10 Context Free Grammar
Context Free Grammer:
1. An alphabet
a. The letters are called Terminals
2. A set of symbols
a. We call these symbols nonterminals
b. One of these symbols are statrt symbol(usually S)
3. A finite set of production rules of the form
a. One nonterminal -> finite string of terminals and/ or non-terminals.
Definition
- The language generated by a Context few Grammar
o Consist of those strings which can be produced from the start symbol using the production
rules
- A language generated by CFG is called Context Free Language
Unlock document

This preview shows page 1 of the document.
Unlock all 3 pages and 3 million more documents.

Already have an account? Log in

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents