styx, a programming languange written in D, is on the bootstrap path

Basile B. b2.temp at gmx.com
Fri Jan 15 19:47:51 UTC 2021


On Friday, 15 January 2021 at 19:25:38 UTC, Per Nordlöw wrote:
> On Friday, 15 January 2021 at 19:18:09 UTC, Basile B. wrote:
>> - DotExpression aliases (they have been proposed to DMD this 
>> summer when I worked "under cover" as Nils.)
>
> Can you give examples of what a DotExpression alias is?

They allow to pull heavily nested members, similarly as getters 
are sometime used and are supposed to make object composition 
easier. This [1] is the test file used to develop the feature.

[1] 
https://gitlab.com/styx-lang/styx/-/raw/51611f2d5c023c0edfe97968b543660ae2e89c26/tests/backend/dotexp_alias.sx


More information about the Digitalmars-d-announce mailing list