universal alpha?

Anders F Björklund afb at algonet.se
Tue May 30 00:32:37 PDT 2006


BCS wrote:

>>>Does anyone have a link to a definition of universal alpha as used in  
>>>the DMD docs?
>>>
>>>(see: http://www.digitalmars.com/d/lex.html#identifier)
>>
>>Here's something:  http://www.algonet.se/~afb/d/universalalphas/
> 
> Ha ha, another pointer to a D-reference 

As it says in the text file, the list was from "ISO/IEC 9899:1999 (E)"
http://www.algonet.se/~afb/d/universalalphas/universalalphas.txt

http://www.open-std.org/JTC1/SC22/WG14/www/docs/n1124.pdf
"Annex D (normative) - Universal character names for identifiers"
1. This clause lists the hexadecimal code values that are valid in
    universal character names in identifiers."

Then I took that list, and generated a D program to print all of them:
http://www.algonet.se/~afb/d/universalalphas/universalalphas.d

--anders



More information about the Digitalmars-d-learn mailing list