Newsgroups: | comp.compilers |
From: | "Dr A. N. Walker" <anw@maths.nottingham.ac.uk> |
Keywords: | syntax, design |
Organization: | Maths Dept., Nottingham University, UK. |
References: | 95-04-013 95-04-160 |
Date: | Tue, 2 May 1995 13:37:24 GMT |
ludemann@netcom.com (Peter Ludemann) writes about semicolon-free syntaxes:
>Indeed: I can think of 3 examples.
Here is a fourth: throw away the semicolons in Pascal, and the
only ambiguity is that you can't always see where the empty statements are.
This can easily be cured by adding a visible representation [such as ";"]
of such statements.
Whether this is a Good Thing from the point of view of the poor
programmer trying to make sense of the error messages coming from the
compiler is quite another matter.
--
Andy Walker, Maths Dept., Nott'm Univ., UK.
anw@maths.nott.ac.uk
--
Return to the
comp.compilers page.
Search the
comp.compilers archives again.