Hi Alex,
I am still working on the idea of using non-tagged pointers in miniPicoLisp
- in order to get rid of the requirement that function pointers be word
aligned. In the process I noticed that the definition of tail is as follows
-

#define tail(x)         (((x)-1)->cdr)

Does this not result in going outside the 0th cell? Would this be more
appropriate?

#define tail(x)         (((cell *)((long*)(x)-1))->car)

Regards,
Kashyap

Reply via email to