tags:

views:

105

answers:

1

Hi

Could someone describe the algorithm to generate the needed tables (action, goto) from a given grammar for LALR(1)?

I have already read

  1. http://en.wikipedia.org/wiki/LALR%5Fparser
  2. http://en.wikipedia.org/wiki/LR%5Fparser

Edit Finally I found out some interesting related pages in the dragon book, but whoever wants, can answer the question.

+1  A: 

Hi! It's been a while since I last worked with LALR, but I found this doc that will most certainly help anyone wanting to understand LALR algorithms:

http://www.facweb.iitkgp.ernet.in/~niloy/Compiler/notes/LALRP.doc

Seb