|Help: How does yacc define it's parsing tables (yyact, yypact ...)? firstname.lastname@example.org (Tom) (2006-10-20)|
|Date:||20 Oct 2006 01:08:49 -0400|
|Posted-Date:||20 Oct 2006 01:08:49 EDT|
I'm a computer science major graduate student. I'm working on a
project to write a customized version of yacc. Now I already can
construct the parsing machine from any given grammar. I'm at the last
stage to generate a y.tab.c file by incoporating the grammar's parsing
machine into y.tab.c tables yyexca, yyact, yypact, yypgo, yyr1, yyr2,
I was able to figure out how to construct some of these tables by
reading y.tab.c generated by yacc. But I'm still confused about how to
get some other tables like yyexca, yyact, yypact, yypgo.
Can anyone please give me some hint, or tell me what webpage or book I
can get help from?
Thanks a lot!
Return to the
Search the comp.compilers archives again.