D Tokens

Hasan Aljudy hasan.aljudy at gmail.com
Wed Mar 29 19:43:54 PST 2006


Markus wrote:
> Hi, guys!
> 
> I would like to ask about D Lexical.
> 
> As I understand the D Source Text consists of the following:
> 
> *Source Text 
> **white spaces 
> **end of lines 
> **comments 
> **tokens 
> **special token sequences 
> **end of file 
> 
> Then, D Tokens consist of the following:
> 
> *tokens 
> **Identifiers 
> **String Literals 
> **Character Literals 
> **Integer Literals 
> **Float Literals 
> **Keywords 
> **Some Characters
> 
> My question is this: 
> How do you name those characters (delimiters, operators or somehow else)? I know
> that in Ada programming language the following characters are called
> “delimiters”:
> 
> /
> /=


I called them 'symbols'
I think a more appropriatre name might be 'operators'

I think it doesn't really matter, though!



More information about the Digitalmars-d mailing list