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

Thiede, Christoph Christoph.Thiede at student.hpi.uni-potsdam.de
Thu Feb 13 11:48:17 UTC 2020


Good point, but here is what it says about asterisks:


> Within productions, alternatives are separated by a vertical bar ('|'), and typically listed on separate lines. Optional symbols are enclosed in square brackets ('[' and ']'). Symbols may also be grouped using parenthesis. The plus sign ('+') following a symbol or group of symbols indicates one or more repetitions; an asterisk ('*') indicates zero or more repetitions.

<http://www.hpi.de/>
So the standard is still "wrong" about [|] :-)

Best,
Christoph
________________________________
Von: Squeak-dev <squeak-dev-bounces at lists.squeakfoundation.org> im Auftrag von John Pfersich via Squeak-dev <squeak-dev at lists.squeakfoundation.org>
Gesendet: Donnerstag, 13. Februar 2020 12:09:54
An: The general-purpose Squeak developers list
Betreff: Re: [squeak-dev] [:x] considered improper (was Re: The Inbox: ShoutCore-ct.69.mcz)

Btw the standard uses a modified EBNF to describe the productions. That’s explained in the first part of the standard. Everything cascades in the standard, so you really need to commit to reading the whole standard, not the Wikipedia article. It’s a pain, but I’ve found it useful to do so. But then I’ve been a computer geek for 48 years, and this type of stuff is what I get paid to do. So nitpicking is my job.

/————————————————————/
For encrypted mail use jgpfersich at protonmail.com
Get a free account at ProtonMail.com
Web: https://objectnets.net and https://objectnets.org
https://datascilv.com https://datascilv.org


On Feb 10, 2020, at 14:41, Thiede, Christoph <Christoph.Thiede at student.hpi.uni-potsdam.de> wrote:

> 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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20200213/5b9a2a70/attachment-0001.html>


More information about the Squeak-dev mailing list