|
Felix literals. |
|
Digits may be separated by an underscore. Prefix and suffix letters may be upper or lower case. Prefix denotes radix, default decimal: 0o octal 0d decimal 0x hexadecimal Suffix denotes type, default int: t tiny (C char) s short (C short) i int (C int) l long (C long) v vlong (C long long) u unsigned, with one of above i8 u8 8 bit (C99 int8_t) i16 u16 16 bit (C99 int16_t) i32 u32 32 bit (C99 int32_t) i64 u64 64 bit (C99 int64_t) Subexpressions involving the operators: unary + identity unary - negation binary + addition binary - suibtraction binary * suibtraction binary / quotient binary % remainder binary < <= == != => ? comparison and integral literals of type int, are calculated at compile time (constant folding). |
|
Python style strings may use single or double quotes, singly or tripled: ’ .. ’ ’’’ .. ’’’ spans lines " .. " """ .. """ spans lines Prefix: u UCS-4 (32 bit) string c 8 bit C null terminated C string, of Escapes: Newline, return, bell, tab, vertical tab, formfeed: as in C. XXXX UXXXXXXXX Special concatenation forms. <string> <string> ... <string> <integer> ... |
|
Floats consist of two digit strings separated by a
decimal point, and possibly an exponent. The digit strings
may be separated by single underscores. An exponent is the
letter E or e followed by a decimal digit string,
underscores are not allowed, however an underscore may
separate the mantissa from exponent. d double l ldouble Exponent kind: p power of 2 Prefix denotes radix, default decimal: |
|
1.1.1 |
|
felix(1) for a language introduction and man page
index |
|
See http://felix.sourceforge.net |
|
John Maxwell Skaller, mailto:skaller@users.sourceforge.net |