Path: utzoo!telly!ddsw1!lll-winken!uunet!tut.cis.ohio-state.edu!BOURBAKI.MIT.EDU!ghoti From: ghoti@BOURBAKI.MIT.EDU Newsgroups: gnu.gcc.bug Subject: (none) Message-ID: <8810011947.AA00774@hypatia.mit.edu> Date: 1 Oct 88 19:47:43 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 15 I'm trying to understand the file parse.output produced by bison when given parse.y from gcc. One is referred to literature on yacc for bison, but there are some differences between yacc and bison. One difference is the format of the .output produced when bison is called with the -v flag. The format of the .output file for yacc is explained a little in the book Introduction to Compiler Construction With UNIX, by Alex Schreiner and H. George Friedman, Jr. But the format in the case of bison is different and I don't know what it means. Another difference between yacc and bison is that bison allows semantic parsing, via the file bison.hairy and as far as I know there is no comparable feature in yacc. Therefore, semantic parsing with bison is entirely undocumented. How is one supposed to learn it ? Allan ghoti@cauchy.mit.edu -------