🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.archives
Article #354

[comp.compilers] yet another version of Berkeley Yacc

#354
From: Bob Corbett
Date: Wed, 17 Jan 1990 22:27
31 lines
2093 bytes
Archive-name: byacc/16-Jan-90
Original-posting-by: corbett@ucbvax.Berkeley.EDU (Bob Corbett)
Original-subject: yet another version of Berkeley Yacc
Archive-site: ucbarpa.berkeley.edu [128.32.130.11]
Archive-directory: pub
Archive-files: byacc.tar.Z
Reposted-by: emv@math.lsa.umich.edu (Edward Vielmetti)

I have posted yet another version of Berkeley Yacc to ~ftp/pub/byacc.tar.Z
on ucbarpa (IP address 128.32.130.11).  It can be retrieved using anonymous
ftp.  It is in compressed tar format.

The previous version of Berkeley Yacc sometimes missed the end of a /* */
comment.  Also, it sometimes produced improperly terminated comments from
line-end (//) comments.  These bug were reported by Dave Gentzel.  Keith
Bostic reported that Berkeley Yacc was producing a definition for YYSTYPE
when it should not.  These bugs have been fixed in the present version.

The previous version of Berkeley Yacc tacked the macro YYCONST at the start
of all the tables.  The idea was to allow the user to #define YYCONST to
be const for ANSI C.  However, there are programs that massage
yacc-generated tables, and some of those programs cannot deal with the
extra token at the start of the line.  Therefore, I have removed the macro.

					Yours truly,
					Bob Corbett
					corbett@berkeley.edu
-- 
Send compilers articles to compilers@esegue.segue.boston.ma.us
{spdcc | ima | lotus}!esegue.  Meta-mail to compilers-request@esegue.
Please send responses to the author of the message, not the poster.
Technical Details
Message-ID: <10679@stag.math.lsa.umich.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!math.lsa.umich.edu!emv
References: <1990Jan16.232337.2299@esegue.segue.boston.ma.us>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!math.lsa.umich.edu!emv
From: corbett@ucbvax.Berkeley.EDU (Bob Corbett)
Newsgroups: comp.archives
Subject: [comp.compilers] yet another version of Berkeley Yacc
Message-ID: <10679@stag.math.lsa.umich.edu>
Date: 17 Jan 90 22:27:08 GMT
References: <1990Jan16.232337.2299@esegue.segue.boston.ma.us>
Sender: news@math.lsa.umich.edu
Reply-To: corbett@ucbvax.Berkeley.EDU (Bob Corbett)
Followup-To: comp.compilers
Lines: 31
Approved: emv@math.lsa.umich.edu (Edward Vielmetti)