Re: Keywords and Reserved Words

gah4 <gah4@u.washington.edu>
Wed, 9 Mar 2022 00:31:25 -0800 (PST)

          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)
| List of all articles for this month |

From: gah4 <gah4@u.washington.edu>
Newsgroups: comp.compilers
Date: Wed, 9 Mar 2022 00:31:25 -0800 (PST)
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="88054"; mail-complaints-to="abuse@iecc.com"
Keywords: parse, Fortran
Posted-Date: 09 Mar 2022 15:20:16 EST
In-Reply-To: 22-03-017

(snip, our moderator wrote)


> [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]


As well as I know, the original 704 Fortran compiler has been lost to history,
but the Fortran II compiler is still around.


Note, though, that fixed-form is still in the Fortran standard, and still has the
space-insensitivity. More popular for new programs, free-form is not space
insensitive.


Also, to make it easier for programmers, some space is still optional in
free-form Fortran, for old and new keywords. For example, both GO TO
and GOTO are allowed, I suspect with separate entries into the parsing
tables. PL/I also has both GO TO and GOTO statements.


Post a followup to this message

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