Re: ALGOL - lexical analyzer

nmm1@cus.cam.ac.uk (Nick Maclaren)
8 May 2005 16:44:33 -0400

          From comp.compilers

Related articles
ALGOL - lexical analyzer edimodric@makni.inet.hr (Eddie) (2005-05-05)
Re: ALGOL - lexical analyzer nmm1@cus.cam.ac.uk (2005-05-06)
Re: ALGOL - lexical analyzer henry@spsystems.net (2005-05-07)
Re: ALGOL - lexical analyzer nmm1@cus.cam.ac.uk (2005-05-07)
Re: ALGOL - lexical analyzer Trevor.Jenkins@suneidesis.com (2005-05-07)
Re: ALGOL - lexical analyzer haberg@math.su.se (2005-05-07)
Re: ALGOL - lexical analyzer nmm1@cus.cam.ac.uk (2005-05-08)
Re: ALGOL - lexical analyzer gah@ugcs.caltech.edu (glen herrmannsfeldt) (2005-05-08)
Re: ALGOL - lexical analyzer gah@ugcs.caltech.edu (glen herrmannsfeldt) (2005-05-08)
| List of all articles for this month |
From: nmm1@cus.cam.ac.uk (Nick Maclaren)
Newsgroups: comp.compilers
Date: 8 May 2005 16:44:33 -0400
Organization: University of Cambridge, England
References: 05-05-027 05-05-029 05-05-031
Keywords: lex, algol68
Posted-Date: 08 May 2005 16:44:33 EDT



Henry Spencer <henry@spsystems.net> wrote:
>No, not so. Algol 68 had the same problem; an implementation was
>supposed to provide *some way* of distinguishing keywords from
>identifiers, but at least in the beginning, there was no consensus on
>what it should be. I was on the fringes of the Algol 68 community for
>a little while in the mid-1970s, and I remember considerable
>discussion about whether specific convention(s) should be
>standardized, and if so, which one(s). Quoting ("stropping") was
>discussed, and if memory serves, a British group reported favorable
>experience with using periods rather than quotes as keyword markers,
>e.g. .begin and .end -- still a nuisance but easier to type.


One of the 'updates' did standardise a range of stropping methods,
but I don't think that one was included. I can't remember where it
came from, but it derived from some earlier language (and was, of
course, fairly common in assemblers). But even that update allowed
half a dozen methods, with no recommendation for a canonical one.




Regards,
Nick Maclaren.


Post a followup to this message

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