LL Parser LR Parser
First L of LL is for left to right and second L is for leftmost derivation. L of LR is for left to right and R is for rightmost derivation.

Context Free Grammer (CFG)


Derivation

Screen Shot 2022-11-28 at 9.16.41 PM.png

Tree

Screen Shot 2022-11-28 at 9.17.06 PM.png

** **Leftmost Derivation ****

Screen Shot 2022-11-28 at 9.19.26 PM.png

** **Rightmost Derivation ****

Screen Shot 2022-11-28 at 9.19.11 PM.png

IMG_B94BA4BE5955-1.jpeg

1) Top-down Parsing


Top-down Parsing์— ๋Œ€ํ•œ ํ•œ๊ธ€์„ค๋ช…: https://gutte.tistory.com/138

Top-down Parsing์— ๋Œ€ํ•œ ์ž์„ธํ•œ!! ์˜์–ด์„ค๋ช…: **https://www.tutorialspoint.com/compiler_design/compiler_design_top_down_parser.htm**

Screen Shot 2022-10-11 at 8.29.31 PM.png

left-recursive