Search found 133 matches

by sylwester
Wed Jul 27, 2011 6:31 am
Forum: Common Lisp
Topic: EQ newbie question
Replies: 11
Views: 10417

Re: EQ newbie question

1. Actually, a and b gets an association different objects in memory which is a fixnum with the bitpattern of 5. eq compares the type and bit-pattern of the two and returns T. If you instead went over the fixnum limit, say stored 234567890123456 in place of 5, the bit-pattern would have been a point...
by sylwester
Tue Jul 12, 2011 5:19 am
Forum: The Lounge
Topic: Dotted List
Replies: 5
Views: 15693

Re: Dotted List

There is not in any LISP implementation, any case you cannot use proper lists in place of dotted pair. A proper list is of course made with pairs so both will be made out of the same stuff. There is no problem implementing a LISP dialect without dotted lists. Make sure CONS will fail if second argum...
by sylwester
Mon Jul 11, 2011 3:46 pm
Forum: The Lounge
Topic: lisp compiler written in brainf**k?
Replies: 9
Views: 26039

Re: lisp compiler written in brainf**k?

Creating a LISP compiler? I have never though of it. The resulting BF-code has to be able to be a LISP interpreter as well to be a fully functional LISP. I'm currently working on an Interpreter that runs on any BrainFuck interpreter (or that may be compiled with a brainfuck-to-x compiler), though wi...