[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

saving applications



I tried saving a Lisp application, but several
things don't seem to work for me:

1.  some saved applications crash.  I suppose
this is due to pointers to the heap that I
haven't deallocated before saving.  IS THERE
A PROGRAMMATIC WAY TO DEALLOCATE ALL POINTERS?
There's a ccl::kill-lisp-pointers function, but
it seems undefined (even if I provide the full
package name).

2.  MACROS DON'T SEEM TO WORK.  For instance,
I used (save-application <filename>) in a fresh
Lisp listener.  The standalone application is
given the following as the first 2 lines:

(setf temp '(a b))
'(A B)

(setf (getf temp 'c) 'd)
> Error: NIL can't be FUNCALLed or APPLYed.
> While executing: CCL::READ-LOOP
> Type Command-/ to continue, Command-. to abort.

Did I do something wrong in saving applications?
Do I have to provide another toplevel function?

Thanks for any help!

kum-yew