Thread overview
First Draft: Primary Type Syntax
Apr 25, 2024
Quirin Schroll
April 25, 2024

https://github.com/Bolpat/DIPs/blob/a872d3b5602a45d1767d5acb962ba24becaa26ce/DIPs/DIP-2NNN-QFS.md

Abstract
The goal of this proposal is that every type construction expressible by D’s type system also has a representation as a sequence of D tokens. The type constructs that lack this are function pointer and delegate types that return by reference and/or have a non-trivial linkage.

April 28, 2024
It took me a couple of days but I did get the essence of what the grammar changes allow.

Although I am unconvinced that the current write up reflects the changes in an explainable way.

I do like that what you are trying to do is make function and delegate pointers being able to be declared in line to a type fully.
This is an issue that I certainly think that needs solving.
June 04

On Saturday, 27 April 2024 at 21:24:17 UTC, Richard (Rikki) Andrew Cattermole wrote:

>

It took me a couple of days but I did get the essence of what the grammar changes allow.

I updated the draft.

The proposed grammar is now easier. A lot easier.

>

Although I am unconvinced that the current write up reflects the changes in an explainable way.

I’ll happily take in suggestions to improve the writing.

>

I do like that what you are trying to do is make function and delegate pointers being able to be declared in line to a type fully.
This is an issue that I certainly think that needs solving.

It absolutely needs solving. The fact that you can’t Ctrl+C Ctrl+V every type from an error message into your code and it Just Works is embarrassing.

February 14

This DIP has been submitted for Formal Assessment. This thread is now closed. Further posts will be deleted.