From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: tuhs-bounces@minnie.tuhs.org X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from minnie.tuhs.org (minnie.tuhs.org [45.79.103.53]) by inbox.vuxu.org (OpenSMTPD) with ESMTP id 5f677436 for ; Mon, 29 Oct 2018 08:32:02 +0000 (UTC) Received: by minnie.tuhs.org (Postfix, from userid 112) id 21EB8A21D6; Mon, 29 Oct 2018 18:32:01 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id 4FC20A1FB5; Mon, 29 Oct 2018 18:31:36 +1000 (AEST) Received: by minnie.tuhs.org (Postfix, from userid 112) id 6246EA1FB5; Mon, 29 Oct 2018 17:31:26 +1000 (AEST) Received: from junk.nocrew.org (junk.nocrew.org [51.15.56.219]) by minnie.tuhs.org (Postfix) with ESMTPS id 0AD8DA1FB0 for ; Mon, 29 Oct 2018 17:31:26 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=junk.nocrew.org) by junk.nocrew.org with esmtp (Exim 4.86_2) (envelope-from ) id 1gH21E-0006Wz-7o; Mon, 29 Oct 2018 07:31:24 +0000 From: Lars Brinkhoff To: "Steve Johnson" Organization: nocrew References: <1dbc3d888e7be7a2c93e497eac14bcd9f43c72fc@webmail.yaccman.com> Date: Mon, 29 Oct 2018 07:31:24 +0000 In-Reply-To: <1dbc3d888e7be7a2c93e497eac14bcd9f43c72fc@webmail.yaccman.com> (Steve Johnson's message of "Sun, 28 Oct 2018 20:00:42 -0700") Message-ID: <7wftwpi4z7.fsf@junk.nocrew.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [TUHS] Archaic yacc C grammar X-BeenThere: tuhs@minnie.tuhs.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: The Unix Heritage Society mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: tuhs@tuhs.org Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" Steve Johnson wrote: > Looking at the reserved words, there is one, ENTRY, that I've never > heard of (although FORTRAN had an ENTRY statement), and there is > STRUCT but no UNION. Also, he uses val= instead of $$=. There don't > seem to be any nontrivial assignment ops (neither += or =+). This is for Snyder's C compiler. There is something called =op which is guess is for =+ etc. > I'm guessing either Al wrote it from scratch or based it on some other > similar program. Looks like you're right. I found this in another file, so it would seem he wrote it back at MIT: "The original YACC was designed and implemented on a PDP-11/45 and a Honeywell 6000 by S. C. Johnson at Bell Laboratories. The version described in this paper was implemented on the PDP-10 by Alan Snyder.