Hi all,
The Symbols section of the PicoLisp Reference Manual:
http://software-lab.de/doc/ref.html#symbol
seems to have the convention:
+-+-+ | cdr | car | +-+-+
whereas the Numbers and Lists sections has the convention:
+-+-+ | car | cdr | +-+-+
I think (I’m speculating, that is) that the confusion was due to the
unusual (but not incorrect) choice of having key/val pairs stored in symbol
property lists as
+-+-+
| VAL | KEY |
+-+-+
where VAL is the the CAR position and KEY in the CDR position. There is
Hello, list!
I thought I should write a few words on some information I’ve gleaned
trying to build picolisp on some of the BSDs. There are people on this list
with more experience than I with both BSD and picolisp; so please comment
upon what I have to say, and weigh in where you feel, or know,
AFAIK advantage is:
varPtr = Val;
as seen in @src/sym.c doSet:
val(data(c1)) = data(c2);
Hi Alexis,
The Symbols section of the PicoLisp Reference Manual:
http://software-lab.de/doc/ref.html#symbol
seems to have the convention:
+-+-+ | cdr | car | +-+-+
whereas the Numbers and Lists sections has the convention:
+-+-+ | car | cdr |