Article View: comp.lang.misc
Article #6020Re: Algol-style semicolons
From: Stephen Perelgut
Date: Fri, 16 Dec 1988 15:09
Date: Fri, 16 Dec 1988 15:09
15 lines
920 bytes
920 bytes
Another method of handling semi-colons is to not have them. All you need to do is terminate multi-part statements. For example: if x then s1 s2 elsif y then s3 s4 else s5 end if There are no ambiguities there! And the only cost is terminating a statement. For example: if/end if; for/end for; loop/end loop; case/end case; etc. This also has the effect of making programs more readable.
Technical Details
Message-ID:
<88Dec16.100919est.4327@turing.toronto.edu>Path:
arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!turing.toronto.edu!perelgutReferences:
<1126@etive.ed.ac.uk> <208100002@s.cs.uiuc.edu> <868@mcrware.UUCP> <8008@aw.sei.cmu.edu> <GARY.88Dec15142623@milo.mcs.clarkson.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!turing.toronto.edu!perelgut From: perelgut@turing.toronto.edu (Stephen Perelgut) Newsgroups: comp.lang.misc Subject: Re: Algol-style semicolons Message-ID: <88Dec16.100919est.4327@turing.toronto.edu> Date: 16 Dec 88 15:09:08 GMT References: <1126@etive.ed.ac.uk> <208100002@s.cs.uiuc.edu> <868@mcrware.UUCP> <8008@aw.sei.cmu.edu> <GARY.88Dec15142623@milo.mcs.clarkson.edu> Organization: /usr/local/lib/organization Lines: 15