Related articles |
---|
Re: Q: Definition of a scripting lang. lwall@netlabs.com (1995-03-27) |
The semicolon habit (was: Q: Definition of a scripting lang.) prechelt@i41s25.ira.uka.de (1995-04-11) |
Re: The semicolon habit (was: Q: Definition of a scripting lang.) stidev@gate.net (1995-04-19) |
Re: The semicolon habit (was: Q: Definition of a scripting lang.) cef@geodesic.com (Charles Fiterman) (1995-04-19) |
Re: The semicolon habit (was: Q: Definition of a scripting lang.) ludemann@netcom.com (1995-04-28) |
Re: The semicolon habit (was: Q: Definition of a scripting lang.) scooter@mccabe.mccabe.com (1995-04-27) |
Re: The semicolon habit (was: Q: Definition of a scripting lang.) cg@Myrias.AB.CA (1995-04-27) |
Re: The semicolon habit (was: Q: Definition of a scripting lang.) schrod@iti.informatik.th-darmstadt.de (1995-04-28) |
Re: The semicolon habit (was: Q: Definition of a scripting lang.) jgmorris@cs.cmu.edu (Greg Morrisett) (1995-04-29) |
[18 later articles] |
Newsgroups: | comp.compilers |
From: | stidev@gate.net (Solution Technology) |
Keywords: | design |
Organization: | Compilers Central |
References: | 95-04-013 95-04-107 |
Date: | Wed, 19 Apr 1995 12:10:36 GMT |
Lutz Prechelt (prechelt@i41s25.ira.uka.de) wrote:
: Indeed the semicolons can be a nuisance.
: And it is surprisingly simple (surprising only for us semicolon-grown
: programmers) to create a syntax that needs no semicolons.
: Perhaps semicolons are just a habit?
Semicolons were/are there to help parse assignment statements.
Assignment is the only statement that doesn't start with a unique token.
As to your END IF. I consider that another programmers hazzard!
Did I mean END; IF ... or END IF; ...
Actually I agree with Knuth. After you become accustomed to it, FI
is much more concise and unambiguous.
Ken Walter
--
Return to the
comp.compilers page.
Search the
comp.compilers archives again.