Help: How does yacc define it's parsing tables (yyact, yypact ...)?

"Tom" <txchen@gmail.com>
20 Oct 2006 01:08:49 -0400

          From comp.compilers

Related articles
Help: How does yacc define it's parsing tables (yyact, yypact ...)? txchen@gmail.com (Tom) (2006-10-20)
| List of all articles for this month |

From: "Tom" <txchen@gmail.com>
Newsgroups: comp.compilers
Date: 20 Oct 2006 01:08:49 -0400
Organization: Compilers Central
Keywords: yacc, question
Posted-Date: 20 Oct 2006 01:08:49 EDT

Hi,


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,
yychk, yydef.


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!


Puzzled, Tom


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.