help-bison
[Top][All Lists]
Advanced

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

What are the arrays (yytranslate, yyprhs...) mean and how are they cacu


From: bookman bookman
Subject: What are the arrays (yytranslate, yyprhs...) mean and how are they caculated in bison?
Date: Fri, 31 Jul 2009 17:59:39 +0800

Hi everyone,
I am a newer in bison and i have used lex and bison to implement a
caculator. When i opened the source generated by bison, I found some arrays
instead of shift/reduce table and goto table, but i do not know what they
are stand for and  how they are caculated. These are the arrays that i can
not figure out.
   yytranslate[];
   yyprhs[];
   yyrhs[];
   yyrline[];
   yyr1[];
   yyr2[];
   yydefact[];
   yydefgoto[];
   yypact[];
   yypgoto[];
   yytable[];
   yycheck[];
   yystos[];

Can someone help me?Thanks a lot.


reply via email to

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