www.digitalmars.com         C & C++   DMDScript  

digitalmars.dip.development - First Draft: Primary Type Syntax

reply Quirin Schroll <qs.il.paperinik gmail.com> writes:
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.
Apr 25
parent reply "Richard (Rikki) Andrew Cattermole" <richard cattermole.co.nz> writes:
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.
Apr 27
parent Quirin Schroll <qs.il.paperinik gmail.com> writes:
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.](https://forum.dlang.org/thread/zymqcnpjcpuphpeulhev forum.dlang.org) 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.
Jun 04