Related articles |
---|
[8 earlier articles] |
Re: Semicolons (Re: Low-Rent Syntax) liam@cs.qmw.ac.uk (1990-09-03) |
Re: Semicolons (Re: Low-Rent Syntax) firth@sei.cmu.edu (1990-09-05) |
Re: Semicolons (Re: Low-Rent Syntax) lins@apple.com (Chuck Lins) (1990-09-05) |
Re: Semicolons (Re: Low-Rent Syntax) rob@baloo.eng.ohio-state.edu (1990-09-05) |
Re: Semicolons (Re: Low-Rent Syntax) MERRIMAN@ccavax.camb.com (George Merriman -- CCA/NY) (1990-09-05) |
Re: Semicolons (Re: Low-Rent Syntax) dik@cwi.nl (1990-09-06) |
Re: Semicolons (Re: Low-Rent Syntax) dolf@idca.tds.philips.nl (Dolf Grunbauer) (1990-09-15) |
Re: Semicolons (Re: Low-Rent Syntax) rhl@grendel.princeton.edu) (1990-09-06) |
Newsgroups: | comp.compilers |
From: | Dolf Grunbauer <dolf@idca.tds.philips.nl> |
Keywords: | parse, design |
Organization: | Philips Information Systems, P.O. Box 245, NL-7300 AE Apeldoorn, The Netherlands |
Date: | Fri, 7 Sep 90 9:17:03 MET |
>In article <2753@sequent.cs.qmw.ac.uk> Rob Carriere wrote:
>[re putting the semicolon at the front of this line in Algol-like languages]
I think it was Edgar Dijkstra but I am not quite sure. The purpose of these
leading semicolons was that you can easily see which closing bracket belongs
to which opening bracket as the semicolons make some sort of a line. Example:
if condition
then statement1
; statement2
; if other_condition
then statement3
; statement4
else statement5
; statement6
fi
; statement7
fi
--
Dolf Grunbauer Tel: +31 55 433233 Internet dolf@idca.tds.philips.nl
Philips Information Systems UUCP ...!mcsun!philapd!dolf
--
Return to the
comp.compilers page.
Search the
comp.compilers archives again.