[squeak-dev] [:x] considered improper (was Re: The Inbox: ShoutCore-ct.69.mcz)

Thiede, Christoph Christoph.Thiede at student.hpi.uni-potsdam.de
Mon Feb 10 13:11:54 UTC 2020


[Ugh, Nabble removed all my code examples again. Resend below:]

________________________________
Von: Squeak-dev <squeak-dev-bounces at lists.squeakfoundation.org> im Auftrag von Thiede, Christoph
Gesendet: Montag, 10. Februar 2020 14:10 Uhr
An: squeak-dev at lists.squeakfoundation.org
Betreff: Re: [squeak-dev] [:x] considered improper (was Re: The Inbox: ShoutCore-ct.69.mcz)

Sorry for reviving this old thread ...

This is still an open issue, isn't it?  (oh, it would be so comfortable if we had something like GitHub issues ...)


And just one related question: According to the BNF John mentioned --

<block constructor> ::= '[' <block body> ']'
<block body> ::= [<block argument>* '|'] [<temporaries>] [<statements>]
<block argument> ::= ':' identifier


(from the ANSI Smaltalk Standard<https://wiki.squeak.org/squeak/uploads/172/standard_v1_9-indexed.pdf#page=21,22>)
 -- the following should be valid syntax as well, shouldn't it?


[|] value.


The explanation is that, according to Wikipedia, an asterisk in the BNF stands for "0 or more times". So provided that there is not a mistake in the official standard document, shouldn't we support the above example?

Which is the exact standard we are following? The Blue Book? The ANSI Smalltalk Standard?

Best,
Christoph





--
Sent from: http://forum.world.st/Squeak-Dev-f45488.html

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20200210/ae7c96f6/attachment.html>


More information about the Squeak-dev mailing list