From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, 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 ce76622d for ; Mon, 3 Dec 2018 05:52:39 +0000 (UTC) Received: by minnie.tuhs.org (Postfix, from userid 112) id 28540A1CFA; Mon, 3 Dec 2018 15:52:38 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id 8632DA1CEB; Mon, 3 Dec 2018 15:52:02 +1000 (AEST) Received: by minnie.tuhs.org (Postfix, from userid 112) id 955F0A1CE9; Mon, 3 Dec 2018 15:51:55 +1000 (AEST) X-Greylist: delayed 1201 seconds by postgrey-1.35 at minnie.tuhs.org; Mon, 03 Dec 2018 15:51:50 AEST Received: from smtp.centurylink.net (mail.onyx.syn-alias.com [206.152.134.66]) by minnie.tuhs.org (Postfix) with ESMTPS id 191EB94A37 for ; Mon, 3 Dec 2018 15:51:50 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha1; d=embarqmail.com; s=ctl201402; c=relaxed/simple; q=dns/txt; i=@embarqmail.com; t=1543815108; h=From:Subject:Date:To:MIME-Version:Content-Type; bh=mHjJs654PcWjjjk8SuL/jR4T1q8=; b=nyw1HMGBtJU+M0SuZ5cC4+Tomw6ErAfVaHYCKlXHdQ62FlxRTsedYjTWunUFWLcC 6DDiTjDh0lZg4XoHcNHPu7tEnMK2lX6BaTzgELJLdDdiwr1pUr8/+AOQMEjb1Vbl us6RarxiYRbud4WW0zSPN3M4n9IR36Gm1dIU/WQYgMNq2Y2rz67Ho+QbgRfp0tXn NcwrJv0cyama2IoRSH+Yy+U7RQt6ZNxqdTvBepxtY8F3l2qNXtxcbqgIQNvmQspg mCxmEU/qccjJVoPFp8iYMYrY9+1aezJjtlYPnwgp2nwNpcr75cnS62N84g+eg5fP qbymZ9LREqbOhOx6K6awwA==; X-BINDING: X_CMAE_Category: , , X-CNFS-Analysis: v=2.2 cv=AKkG+Jdy c=1 sm=1 tr=0 a=IlLwGcCO1S3QYs4qMas8qg==:117 a=IlLwGcCO1S3QYs4qMas8qg==:17 a=KGjhK52YXX0A:10 a=kj9zAlcOel0A:10 a=x7bEGLp0ZPQA:10 a=KuItR_Gh23wA:10 a=2ur7OfE09M0A:10 a=28s8VZ37PhkA:10 a=OensOVJAAAAA:8 a=1oqGTYSLAAAA:8 a=e0OUleyC9z-YqJRT5WAA:9 a=CjuIK1q_8ugA:10 a=QDssscAKD_aqc3FBze0C:22 X-CM-Score: 0 X-Scanned-by: Cloudmark Authority Engine X-Authed-Username: cmx5MUBlbWJhcnFtYWlsLmNvbQ== Authentication-Results: smtp04.onyx.dfw.sync.lan smtp.user=rly1@embarqmail.com; auth=pass (LOGIN) Received: from [65.41.248.7] ([65.41.248.7:58580] helo=localhost.localdomain) by smtp.centurylink.net (envelope-from ) (ecelerity 3.6.25.56547 r(Core:3.6.25.0)) with ESMTPA id 7E/F0-08702-4CFB40C5; Mon, 03 Dec 2018 00:31:48 -0500 From: Ron Young Message-ID: <7E.F0.08702.4CFB40C5@smtp04.onyx.dfw.sync.lan> To: tuhs@tuhs.org In-reply-to: <201812030336.wB33axfq080387@tahoe.cs.Dartmouth.EDU> References: <201812030336.wB33axfq080387@tahoe.cs.Dartmouth.EDU> Comments: In-reply-to Doug McIlroy message dated "Sun, 02 Dec 2018 22:36:59 -0500." MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1206.1543815107.1@localhost.localdomain> Content-Transfer-Encoding: quoted-printable Date: Sun, 02 Dec 2018 21:31:47 -0800 Subject: Re: [TUHS] > there is no way that FORTRAN can be described in any syntax 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: , Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" Your message dated: Sun, 02 Dec 2018 22:36:59 -0500 -------- > = > I did just that. The National Bureau of Standards picked it up > in NBS Handbook 131, "Using ANS FORTRAN" (1980). It is expressed > in the same formalism that Burroughs used for Algol. > = > Doug a couple of more data points: Arthur Sale wrote an article on classifying fortran statements, Volume 14 Number 1 of the Computer Journal that describes how to classify fortran statements into 1 of 36 types. URL:https://www.researchgate.net/profile/Arthur_Sale/publication/2204598= 29_The_classification_of_FORTRAN_statements/links/02e7e5181a234c6545000000= /The-classification-of-FORTRAN-statements.pdf). by using the above, you can do some preprocessing to correct spacing, line continuations, remove sequence numbers (cols 73-80) and other formatting to make parsing easier. = John Levine wrote a ftn77 subset parser using lex and yacc (the shar file that I have is dated Nov 1988). = -ron = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D Ron Young rly1@embarqmail.com