Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

compapp- compiler construction-choosing lr 1 lookahead

  • 14-08-2006 11:33am
    #1
    Registered Users, Registered Users 2 Posts: 1,559 ✭✭✭


    Choosing lr 1 lookahead



    Its a compiler onstuction question about constructing lr 1 itemsets from a grammar.

    I have an lr1 itemset example here and I dont understand it.

    I cant understand how the lookaheads are got in the lr 1 example. (lookaheads are after the ',')

    I2: S -> C.C , $
    C ->.cC ,$
    C ->.d ,$

    why are all lookaheads end of inputs?
    Theres a C after the dot in S so why isnt the lookahead
    cd?


Comments

  • Registered Users, Registered Users 2 Posts: 8,405 ✭✭✭gizmo


    The CA forums are probably your best place to look however I can see them being quiet at the moment, noticed you posted there too. You try mailing your class list?


  • Registered Users, Registered Users 2 Posts: 455 ✭✭Ferror


    If that happens to fail you could try asking nicely here...

    ;)


Advertisement