Re: Semicolons (Re: Low-Rent Syntax)

codex!peterd@uunet.UU.NET (Peter Desnoyers)
Mon, 20 Aug 90 22:30:08 GMT

          From comp.compilers

Related articles
Semicolons (Re: Low-Rent Syntax) bart@videovax.tv.tek.com (Bart Massey) (1990-08-13)
Re: Semicolons (Re: Low-Rent Syntax) codex!peterd@uunet.UU.NET (1990-08-20)
Semicolons (Re: Low-Rent Syntax) thomasm@llama.ingres.com (1990-08-22)
Re: Semicolons (Re: Low-Rent Syntax) trt@rti.rti.org (1990-08-24)
Re: Semicolons (Re: Low-Rent Syntax) mjr@decuac.DEC.COM (1990-08-25)
Re: Semicolons (Re: Low-Rent Syntax) bart@videovax.tv.tek.com (Bart Massey) (1990-08-26)
Re: Semicolons (Re: Low-Rent Syntax) elsie!ado@uunet.UU.NET (1990-08-27)
Re: Semicolons (Re: Low-Rent Syntax) anw@maths.nott.ac.uk (1990-08-29)
[8 later articles]
| List of all articles for this month |

Newsgroups: comp.compilers
From: codex!peterd@uunet.UU.NET (Peter Desnoyers)
Keywords: parse, design, CLU
Organization: Codex Corp., Canton MA
References: <1990Aug12.205529.11691@esegue.segue.boston.ma.us> <1990Aug13.214001.16423@esegue.segue.boston.ma.us>
Date: Mon, 20 Aug 90 22:30:08 GMT

bart@videovax.tv.tek.com (Bart Massey) writes:


>In article <1990Aug12.205529.11691@esegue.segue.boston.ma.us> Stephen D. Clamage <steve@taumet.com> writes:
>> There has been some discussion about *how* to design languages which do
>> not need semicolons to separate or end statements. No one has brought up
>> why you would want to.
>...
>> Finally, beginning programmers are going to make all kinds of errors, for
>> all kinds of reasons. For more-experienced programmers, are semicolon
>> errors a real problem -- as big as other kinds of syntax errors? I'd say
>> no.


My experience in with CLU as an undergraduate was that terminating statements
with a semicolon is a good thing, as it makes it easier for a parser to
detect errors quickly and accurately. My impression was that a syntax error
would cause the parser to trip up somewhere in the middle of the next page :-)
(slightly exaggerated, but the combination of a permissive grammar and a
non-industrial-grade compiler made for difficult detection of errors.)


Peter Desnoyers
--


Post a followup to this message

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