Re: Is the dangling else a syntax bug?

Barry Kelly <dynagen@eircom.net>
17 Jul 2001 23:23:20 -0400

          From comp.compilers

Related articles
[3 earlier articles]
Re: Is the dangling else a syntax bug? vbdis@aol.com (2001-07-03)
Re: Is the dangling else a syntax bug? ralph@inputplus.demon.co.uk (2001-07-06)
Re: Is the dangling else a syntax bug? ralph@inputplus.demon.co.uk (2001-07-06)
Re: Is the dangling else a syntax bug? gsc@zip.com.au (Sean Case) (2001-07-06)
Re: Is the dangling else a syntax bug? lars@bearnip.com (2001-07-06)
Re: Is the dangling else a syntax bug? vbdis@aol.com (2001-07-17)
Re: Is the dangling else a syntax bug? dynagen@eircom.net (Barry Kelly) (2001-07-17)
Re: Is the dangling else a syntax bug? david.thompson1@worldnet.att.net (David Thompson) (2001-07-17)
Re: Is the dangling else a syntax bug? genew@shuswap.net (2001-07-17)
Re: Is the dangling else a syntax bug? genew@shuswap.net (2001-07-17)
Re: Is the dangling else a syntax bug? toon@moene.indiv.nluug.nl (Toon Moene) (2001-07-18)
Re: Is the dangling else a syntax bug? esmond.pitt@bigpond.com (Esmond Pitt) (2001-07-18)
Re: Is the dangling else a syntax bug? jcrens@earthlink.net (Jack Crenshaw) (2001-07-23)
[10 later articles]
| List of all articles for this month |

From: Barry Kelly <dynagen@eircom.net>
Newsgroups: comp.compilers
Date: 17 Jul 2001 23:23:20 -0400
Organization: Ireland On-Line Customer
References: 01-06-073 01-07-020 01-07-029 01-07-054
Keywords: syntax, design
Posted-Date: 17 Jul 2001 23:23:20 EDT

lars@bearnip.com (Lars Duening) wrote:


> On 3 Jul 2001 23:14:30 -0400, our moderator commented:
> > [I think I've seen stats that users get statement separators wrong more
> > often than statement terminators, but I can't dig them up at the moment.
> > -John]
>
> The matter-of-factual proof of this point (and IIRC - it's been a while) would
> probably be the Pascal family of languages, which started out using statement
> separators in their pure form, but later added additional grammar rules (like
> allowing two separators follow each other with no statement in between) which
> effectively allow the use of the separators as if they are terminators.


A minor point, but the only rule 'added' is that statements are
optional - and hence any amount of semicolons can be inserted between
statements.


-- Barry


--
    If you're not part of the solution, you're part of the precipitate.
Team JEDI: http://www.delphi-jedi.org


Post a followup to this message

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