LL Parser

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    Favorites, Groups & Events

    LL Parser - Presentation Transcript

    1. - LL -
    2. LL ( ) − −( )
    3. LR ( ) − ( ) − − SLR LALR LR ...
    4. LL (1/3) S → aBcd B → bc →b abcd −
    5. LL (2/3) A=Ax|y A = y A' A' = x A' | ε
    6. LL (3/3) A A A A
    7. LL (3/3) A A’ A’ A’ ε
    8. LL (3/3) LL − − T E’ ) T’ E’ $ (i + i) * i $
    9. LL (3/3) E→E T E T T T→T F T F F F→ E i num
    10. LL (3/3) 2 E → TE’ E’ → TE‘ TE‘ ε T’ → FT‘ FT’ ε F→ E i num
    11. LL (3/3) DIRECTOR − FIRST FOLLOW DIRECTOR FIRST FOLLOW
    12. LL (3/3) FIRST FIRST(α) − α ε FIRST α a α∈T, α⇒a… α α a ε a ∈ FIRST(α) ε ∈ FIRST(α) FIRST F , i, num
    13. LL (3/3) FOLLOW FOLLOW(A) − A ε , S ⇒…Aa… FOLLOW A a a∈T∪ S A a $ a∈F () F F , , , , ,
    14. LL (3/3) DIRECTOR , − a DIRECTOR A,α , − A A→α a DIRECTOR A,α DIRECTOR − A,β , LL( ) DIRECTOR A,α − a a∈T,a∈FIRST α ε α⇒ε a∈FOLLOW(A)
    15. LL (3/3) DIRECTOR 2 A A α α a εa a ∈ FIRST(α) ε a⇒ε
    16. LL (3/3) DIRECTOR 3 DIRECTOR(F, E ) FIRST( E ) ε − DIRECTOR(F,i) FIRST( ) ε {i} − DIRECTOR(F,num) FIRST num ε num − able[A,α] A→α a∈DIRECTOR(A,α)
    17. LR − FIRST FOLLOW DIRECTOR −
    18. http://fxp.hp.infoseek.co.jp/arti/parser.html −

    + mahatamahata, 2 years ago

    custom

    661 views, 0 favs, 3 embeds more stats

    LL Parser

    More Info

    © All Rights Reserved

    Go to text version
    • Total Views 661
      • 544 on SlideShare
      • 117 from embeds
    • Comments 0
    • Favorites 0
    • Downloads 4
    Most viewed embeds
    • 114 views on http://mahata.net
    • 2 views on http://209.85.175.104
    • 1 views on http://72.14.235.104

    more

    All embeds
    • 114 views on http://mahata.net
    • 2 views on http://209.85.175.104
    • 1 views on http://72.14.235.104

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as innappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel

    Categories