Beeflang - open source performance-oriented compiled programming language

Gregor Mückl gregormueckl at
Thu Jan 9 17:19:38 UTC 2020

On Thursday, 9 January 2020 at 16:58:16 UTC, Basile B. wrote:
>   5. `repeat {} while ()` and `do {}` lacks of orthogonality. 
> `do {} while (false);` could
>      have been used instead, saving `repeat`. This new 
> statement a very few value added
>      but I understand that it's tempting to invent small things 
> like that when creating a
>      language.

do {} has a separate meaning in beef. These blocks are not 
looping, but using break; is valid in them to skip to their end. 
While this is certainly creative, I don't know if it all that 
useful. But it burns the "do" keyword in the grammar and 
something else is required to start a do/while block.

More information about the Digitalmars-d mailing list