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

Basile B. b2.temp at gmx.com
Mon Jan 18 17:45:16 UTC 2021


On Friday, 15 January 2021 at 19:40:11 UTC, Ola Fosheim Grøstad 
wrote:
> On Friday, 15 January 2021 at 19:18:09 UTC, Basile B. wrote:
>> I plan to use dparse for the most part, not only to convert 
>> but also to detect non bootstrapable code or missing features.
>
> Ah, smart. I've been thinking about using an existing d-parser 
> to convert unit tests from D to my Dex syntax (experimental 
> project). Modifying the compiler is fun, but writing unit tests 
> is not...
>
>> This is a noble reason. Styx has no such motivations. It is 
>> simpler than D1 for example and has no killer feature,
>
> What made D1 attractive to many C++ programmers was that it was 
> stripped down. Also, many language designers get tempted to add 
> many features that are hollow, then they regret it and rip it 
> all out again (lots of wasted effort and source code). So, 
> being very restrictive and patient is a good thing, I believe. 
> The truly good ideas takes time to "grow" (in ones mind).
>
>> just 3 or 4 creative things are
>> - optional break/continue expression
>> - explicit overloads
>> - DotExpression aliases (they have been proposed to DMD this 
>> summer when I worked "under cover" as Nils.)
>> - pointers to member function is very different from what I 
>> have seen so far (no fat pointer)
>
> "Nils" is a very scandinavian name? :-)

Yeah, in addition to my real name, I've been invovled in dmd as 
"Nils Lankila" and "Stian Gulpen" which are names generated using 
specialized services. You can choose to have a swedish name for 
example.





More information about the Digitalmars-d-announce mailing list