On 11/11/2013 11:03 PM, Sieghard wrote:
t _even_ C has block delimiters ({ and }), because they're
_needed_ by any notation that does _not_ restrict formatting the code.
In fact I _always_ use begin ... end ( or in C } ... { ) with if
and loop instructions (as I do not like the ambiguity
On Tuesday 12 November 2013 09:19:37 Michael Schnell wrote:
I suppose here the new compiler would accept just else begin. Does not
look bad, but not a real improvement, IMHO.
I do more like to make the end's mandatory. Like
'if' BOOLEANEXPRESSION 'then'
[STATEMENT {';' STATEMENT}]
['else'
On Tuesday 12 November 2013 09:54:11 Michael Schnell wrote:
With my background of C fro me the ; is necessary to close a
statement. This I never do a line that does not end with either of ;
or begin
In Pascal (and in MSElang) ';' does not terminate but separate a statement.
Empty statements
On 11/12/2013 10:13 AM, Martin Schreiber wrote:
In Pascal (and in MSElang) ';' does not terminate but separate a statement.
Exactly. (Different from C.)
Empty statements are possible -
OK. Thus my (c-influenced) style is acceptable.
-Michael
On 11/10/2013 02:33 PM, Sieghard wrote:
Don't try. There was _never_ a complete implementation of this
language around for all the time being, although the foremost computer
scientists of the time worked on these compilers (way back) then.
Martin does like a decent challenge :-) :-) .
Hallo Ivanko,
Du schriebst am Mon, 11 Nov 2013 09:41:58 +0500:
The ALGOL syntax looks as a complication seems to offer no benefits :)
The Algol syntax was the base for Pascal. It is very similar, although
Pascal left out many constructs possible even in the simpler Algol 60
dialect, like
Hallo Martin,
Du schriebst am Sun, 10 Nov 2013 07:47:44 +0100:
Sieghard suggests to use Algol 68 syntax instead to try to make the best
of 30 years of programming experience.
Opinions?
Don't try. There was _never_ a complete implementation of this language
around for all the time being,
The ALGOL syntax looks as a complication seems to offer no benefits :)
For advanced syntax it worhs to look at Python (no begin end source
text garbage etc).
--
November Webinars for C, C++, Fortran Developers
Accelerate
8 matches
Mail list logo