[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: #O, an alternate view
- To: RWK at MIT-MC
- Subject: Re: #O, an alternate view
- From: Richard L. Bryan <RLB at MIT-MC>
- Date: Fri, 31 Oct 80 21:16:00 GMT
- Cc: BUG-LISP at MIT-MC
- Original-date: 31 October 1980 16:16-EST
If you don't want your input radix migrating machine-dependently, combine the
#o and #* notations: type the PDP10 fixnum <-1,,0> as #o*777777000000 where the
"*", rather than meaning "read in machine-dependent input radix", means "read
in and truncate to machine-dependent number of bits". Implementation Note: the
reader code for #x and #b, at least, currently needs to peek at the following
char for '"'-ness, and could check for "*"-ness as well.