help-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

"How to interprete Bison interbal tables"


From: Xinan Tang
Subject: "How to interprete Bison interbal tables"
Date: Mon, 27 Jan 2003 11:53:23 -0800

Hi
 
   Normally an LALR(1) algorithm described in text books relies on the three tables:
 
    -- two dimensional tables:  action(states, terminal) and goto(states, non-terminal)
    -- a one-dimentional table rhs_length[rules], the length of the right side of a rule
 
   However in bison, every table is one dimendionsal. Could anyone point to me any reference on the table encoding scheme used in bison, i.e., how to interpreter those yydefgoto[], yypact[], yypgoto[] etc.?
 
 
Thanks
 
--Xinan
 
 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]