On Thu, Nov 14, 2002 at 07:40:38PM +0100, Angel Faus wrote: : I would preferer to limit the usage of "letter notation" to just base : 11-36, and have n:F = n:f for every n. : : It is simpler, and we can always use de "dot notation" for bigger : bases.
I'm thinking at the moment that I'd like to go back to the Ada notation and use # for the radix, and rather that using dots, use colons. So an IP address would actually look like 256#192:168:1:1 (But only on a big-endian machine! Use v-strings instead!) The dot stays the radix point, and there's no conflict with 10#3.14159 and such. It's still not possible to write an IPv6 address, but those ought to be strings anyway, not numbers. They may need some specific syntactic relief. Maybe we need x-strings as well as v-strings. I don't think there's much conflict between # for radix and # for comments, by the way. I also think the radix is limited to a literal integer. -10#42 is just -(10#42). Larry