| Gentee Programming Language > Documentation > Syntax | Download documentation |
A character set is a set of numerals, letters, and special characters:
Digits:
<binary digit> ::= '0' | '1'
<decimal digit> ::= <binary digit> | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9'
<hexadecimal digit> ::= <decimal digit> | 'A' | 'B' | 'C' | 'D' | 'E' | 'F' | 'a' | 'b' | 'c' | 'd' | 'e' | 'f'
Letters:
<letter> ::= 'A' | 'B' | ... | 'Z' | 'a' | 'b' | ... | 'z' | 0x80 | 0x81 | ... | 0xFF
Bear in mind that you should not use the ANSI character code greater than 0x79 ( languages that do not use the Roman alphabet ), if a computer where a source program is likely browsed uses another code page.
Special characters:
<space> ::= 0x20
<tabulation> ::= 0x09
<end-of-line> := 0x0D 0x0A
<delimiter> ::= '!' | '"' | '#' | '$' | '%' | '&' | ''' | '(' | ')' | '*' | '+' | ',' | '-' | '.' | '/' | '<' | '=' | '>' | '?' | '@' | '[' | '\' | ']' | '^' | '_' | '|' | '}' | '{' | '~' | <tabulation> | <space> | <end-of-line>
An end-of-line is a significant character set that consists of carriage-return and line-feed characters.
<character> ::= <decimal digit> | <letter> | <delimeter>
Copyright © 2004-2006 Gentee Inc. All rights reserved. |