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

"Tom" <>
20 Oct 2006 01:08:49 -0400

          From comp.compilers

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

From: "Tom" <>
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


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 file by incoporating the grammar's parsing
machine into tables yyexca, yyact, yypact, yypgo, yyr1, yyr2,
yychk, yydef.

I was able to figure out how to construct some of these tables by
reading 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.