This is the mail archive of the
guile@sourceware.cygnus.com
mailing list for the Guile project.
Re: guile bugs
- To: tanel AT cs.ioc.ee
- Subject: Re: guile bugs
- From: Jim Blandy <jimb AT red-bean dot com>
- Date: 16 Sep 1999 15:00:58 -0500
- Cc: Greg Badros <gjb AT cs.washington dot edu>, Jay Belanger <jay AT vh213601.truman dot edu>, scwm-discuss AT SCWM.MIT.EDU, guile AT sourceware.cygnus dot com
- References: <qrru2oyxtr7.fsf@elwha.cs.washington.edu> <199909141442.JAA17962@vh213601.truman.edu> <qrraeqpy0pl.fsf@elwha.cs.washington.edu> <199909141624.LAA19039@vh213601.truman.edu> <qrrlna9w5az.fsf@elwha.cs.washington.edu> <199909142309.SAA01374@vh213601.truman.edu> <qrrvh9bu8rp.fsf@elwha.cs.washington.edu> <m34sgvcttc.fsf@savonarola.red-bean.com> <qrrvh9bl8ix.fsf_-_@elwha.cs.washington.edu> <37E09A6A.612B667A@cs.chalmers.se>
> > Hmmm... yea, it sure would've saved a lot of bugs in Scwm (especially
> > early on) if Scheme booleans could be treated as C booleans. I
> > hypothesize that three changes would find a ton of bugs in Guile and Scwm:
> >
> > 1) SCM_BOOL_F should be 0 so it is false in C
>
> As Jim Blandy wrote, 0 is used for the (), ie the null pointer.
Did I say that?
#define SCM_EOL SCM_MAKIFLAG(20)
#define SCM_MAKIFLAG(n) (((n)<<9)+0x174L)