2 ms·
I'm sure somebody has written an ADVENTURE front-end for a LISP debugger. You are in a CONS cell. The there is a CAR to the left, leading off to another CONS,
by DonHopkins 7y ago
I'm sure somebody has written an ADVENTURE front-end for a LISP debugger.
You are in a CONS cell. The there is a CAR to the left, leading off to another CONS, and a CDR to the right, containing NIL. The garbage collector briefly enters the CONS, marks it, quickly glances at the NIL in the CDR, smiles quietly to itself, and looking relieved, hurriedly sweeps away through the CAR.
>GIVE CONS TO CDR
You give the CONS cell to its CDR, creating a circular list.