[Dlang-internal] Some suggestions for the d language

Max Haughton maxhaton at gmail.com
Fri Sep 20 05:49:35 UTC 2019


On Friday, 20 September 2019 at 03:00:03 UTC, Shadowblitz16 wrote:
> On Friday, 20 September 2019 at 01:35:52 UTC, Max Haughton 
> wrote:
>> [...]
>
> 1. no not really it just would be a nice thing to have.
>
> 2. I agree this would require alot of work, but I think if 
> someone was willing to do it it would make it the language alot 
> nicer even if it was optional syntax.
>
> 3. this could be fixed by adding is_coroutine(function) or 
> something; but why would you need to check it anyway? it just 
> would be a nice way of doing asynchronous programming in the d 
> language.

It would literally mean ripping the entire parser and possibly 
lexer to bits while also probably force the semantic analysis to 
be done synchronously.


More information about the Dlang-internal mailing list