Cfg terminologies
6
Click here to load reader
-
Upload
zahoor-khan -
Category
Software
-
view
5 -
download
0
Transcript of Cfg terminologies
![Page 1: Cfg terminologies](https://reader037.fdocuments.in/reader037/viewer/2022100723/58f23d711a28abaa418b457f/html5/thumbnails/1.jpg)
CFG terminologiesGroups Members19) Zahoor Ali Khan15) Israr Khan23) Yasir Iqbal
![Page 2: Cfg terminologies](https://reader037.fdocuments.in/reader037/viewer/2022100723/58f23d711a28abaa418b457f/html5/thumbnails/2.jpg)
CFG terminologiesTerminals Non-Terminals Productions
![Page 3: Cfg terminologies](https://reader037.fdocuments.in/reader037/viewer/2022100723/58f23d711a28abaa418b457f/html5/thumbnails/3.jpg)
Terminals
The symbols that can’t be replaced by anything are called terminals.
![Page 4: Cfg terminologies](https://reader037.fdocuments.in/reader037/viewer/2022100723/58f23d711a28abaa418b457f/html5/thumbnails/4.jpg)
Non-Terminals The symbols that must be replaced by other things are called non-terminals.
![Page 5: Cfg terminologies](https://reader037.fdocuments.in/reader037/viewer/2022100723/58f23d711a28abaa418b457f/html5/thumbnails/5.jpg)
ProductionsThe grammatical rules are often called productions
![Page 6: Cfg terminologies](https://reader037.fdocuments.in/reader037/viewer/2022100723/58f23d711a28abaa418b457f/html5/thumbnails/6.jpg)
Note The terminals are designated by small letters,
while the non-terminals are designated by capital letters.
There is at least one production that has the non-terminal S as its left side.