On Sun, 2007-05-06 at 13:34 -0700, Erick Tryzelaar wrote: > I was reading through the spec for bitc > (http://www.bitc-lang.org/docs/bitc/spec.html), and they have a nice way > of specifying a character literal without using quotes. They do this: > > #\a > #\D > #\space > #\tab > #\U+1234 > > Think this would be worthwhile to adapt?
Well, #\a and #\D are possible, the others aren't needed. You can already use char 0x1234 and macro val tab = char 8; or const tab:char = "'\t'"; for named things. Not clear what #\a is though: is it: 8 bit char 32 bit UCS4 UTF8 ? -- John Skaller <skaller at users dot sf dot net> Felix, successor to C++: http://felix.sf.net ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Felix-language mailing list Felix-language@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/felix-language