[spec] What's in a name?

Les De Ridder les at lesderid.net
Tue May 21 15:35:18 UTC 2019


On Tuesday, 21 May 2019 at 13:15:21 UTC, Dibyendu Majumdar wrote:
> On Tuesday, 21 May 2019 at 04:08:13 UTC, Marco de Wild wrote:
>> On Monday, 20 May 2019 at 22:50:04 UTC, Dibyendu Majumdar 
>> wrote:
>>> Going back (at least) to Dennis Ritchie's C manual from 1975, 
>>> it seems a convention to define what kind of things can be 
>>> named in a language. Is there such a list for D?
>>
>> Do you mean the style guide? https://dlang.org/dstyle.html
>> Or https://dlang.org/spec/lex.html ?
>
> Neither.

I'm not entirely sure what you're asking.
If you're trying to replicate the section from Dennis Ritchie's C
manual, you might want to look at 'VarDeclarations' in the 
grammar[1],
but I'm not sure such a section would be particularly useful.

[1] https://dlang.org/spec/grammar.html#VarDeclarations



More information about the Digitalmars-d mailing list