Ignore:
Timestamp:
Dec 21, 2017, 9:01:44 PM (16 months ago)
Author:
cameron
Message:

makeByte uses the Byte alphabet

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/cc/alphabet.h

    r5796 r5797  
    3131public:
    3232    //  Alphabets may be formed by some subset of Unicode characters, together
    33     //  with a mapping to and from Unicode.  The mapping is defined in terms of the
    34     //  number of character codes unicodeCommon such that all character codes in the range
     33    //  with a mapping to and from Unicode.  The mapping is defined in terms of unicodeCommon:
     34    //  the number of character codes (if any) such that all character codes in the range
    3535    //  0..unicodeCommon - 1 map to the same numeric value as the corresponding Unicode
    3636    //  codepoint, together with a vector defining the Unicode codepoints for consecutive
     
    6464//  Some important alphabets are predefined.
    6565
    66 const extern UnicodeMappableAlphabet Unicode;
     66const extern UnicodeMappableAlphabet Unicode; // Unicode("Unicode", UCD::UNICODE_MAX, {})
    6767
    68 const extern UnicodeMappableAlphabet ASCII;
     68const extern UnicodeMappableAlphabet ASCII;  // ASCII("ASCII", 0x7F, {});
    6969
    70 const extern UnicodeMappableAlphabet ISO_Latin1;
     70const extern UnicodeMappableAlphabet ISO_Latin1; // ISO_Latin1("ISO_Latin1", 0xFF, {});
    7171
    72 const extern CodeUnitAlphabet Byte;
    73 
     72const extern CodeUnitAlphabet Byte; // Byte("Byte", 8);
     73   
     74const extern CodeUnitAlphabet UTF16; // UTF16("UTF16", 16);
     75   
    7476}
    7577
Note: See TracChangeset for help on using the changeset viewer.