Re: Keywords and Reserved Words

"Robin Vowels" <robin51@dodo.com.au>
Thu, 10 Mar 2022 09:55:46 +1100

          From comp.compilers

Related articles
How do you create a grammar for a multi-language language? costello@mitre.org (Roger L Costello) (2022-03-03)
Re: How do you create a grammar for a multi-language language? DrDiettrich1@netscape.net (Hans-Peter Diettrich) (2022-03-06)
Re: How do you create a grammar for a multi-language language? DrDiettrich1@netscape.net (Hans-Peter Diettrich) (2022-03-07)
Re: How do you create a grammar for a multi-language language? gah4@u.washington.edu (gah4) (2022-03-06)
Keywords and Reserved Words christopher.f.clark@compiler-resources.com (Christopher F Clark) (2022-03-08)
Re: Keywords and Reserved Words gah4@u.washington.edu (gah4) (2022-03-09)
Re: Keywords and Reserved Words robin51@dodo.com.au (Robin Vowels) (2022-03-10)
Re: Keywords and Reserved Words robin51@dodo.com.au (Robin Vowels) (2022-03-10)
Re: Keywords and Reserved Words robin51@dodo.com.au (Robin Vowels) (2022-03-10)
Re: Keywords and Reserved Words in Fortran tkoenig@netcologne.de (Thomas Koenig) (2022-03-10)
| List of all articles for this month |
From: "Robin Vowels" <robin51@dodo.com.au>
Newsgroups: comp.compilers
Date: Thu, 10 Mar 2022 09:55:46 +1100
Organization: Compilers Central
References: 22-03-004 22-03-009 22-03-015 22-03-016 22-03-017
Injection-Info: gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970"; logging-data="64703"; mail-complaints-to="abuse@iecc.com"
Keywords: Fortran, parse, comment
Posted-Date: 09 Mar 2022 20:53:53 EST

> [If anyone wants to know how to find the tokens in old space-insensitive Fortran
> I can tell you, but it's as ugly as you might imagine. -John]


No it's not.
See A. H. J. Sale, "The Classification of FORTRAN Statements", Computer Journal,
Vol. 14 No. 1, 1971.
[Having written production Fortran compilers, I can assure you that to
do it right is quite ugly. I looked at the article and he missed some things,
and he made some unrealistic assumptions that a compiler would accept nothing
beyond what was in the Basic Fortran standard. -John]


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.