Go to the first, previous, next, last section, table of contents.
The following lists Bison features which are not available or work
differently in Zyacc:
-
In Bison multi-character literals are enclosed within double-quotes, whereas
Zyacc uses single-quotes for both single and multi-character literals. The
Bison approach is more consistent with C; the Zyacc approach avoids making
another character special (the Zyacc approach predates the public release of
this feature in Bison).
-
Zyacc does not have any public interface to retrieve a token number given
its name, similar to Bison's
yytname
table.
-
Zyacc does not support Bison's
YYBACKUP()
macro.
-
Bison allows the use of
%type
declarations to declare the types of
terminal symbols, even though the manual seems to imply that %type
can be used only for declaring the types of nonterminals. This feature
appears useful.
-
Zyacc's debugging facilities are quite different from Bison's trace
facility.
Feedback: Please email any feedback to zdu@acm.org.
Go to the first, previous, next, last section, table of contents.