On Wed, Mar 25, 2020 at 10:09:19AM -0700, C K Kashyap wrote:
> I see, if the assumption was long to be 64 bits then perhaps all the
> "long"s in the code should be changed to int64_t .... I see that there are
> several usages of long in the code other than the couple of places I
> changed.

The general assumption in PicoLisp is that the "normal" scalar size is the same
as the pointer size. On 32 bits both a pointer and a long are 32 bits, and on
all 64 bit Unix systems I saw so far both were 64 bits. Thus, miniPicoLisp
compiled fine both on 32 and 64 bit systems.

> I was wondering though if there is some implementation of miniPicoLisp out
> there that I could use as reference - perhaps just with the ability to call
> an external program.

You could perhaps use some parts of pil32 (?).

☺/ A!ex

UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Reply via email to