Just Launched: You can now import projects and releases from Google Code onto SourceForge
We are excited to release new functionality to enable a 1-click import from Google Code onto the Allura platform on SourceForge. You can import tickets, wikis, source, releases, and more with a few simple steps. Read More
Is there some sort of developer doc for CLISP that will tell me such
- how lisp objects can be interacted with in c
- how LISPFUN and friends work (LISPFUN*)
- how the lisp function stack for a lisp function is created, managed,
etc., i.e. the calling convention
Probably there are more things I need to know, but, this is a start.
I looked in src/FILES and looked over src/lispbibl.d, but those didn't
really point me in the right direction.
Thanks in advance.
"Acquaintance, n.: A person whom we know well enough to borrow from,
but not well enough to lend to." - Ambrose Bierce
From: Sam Steingold <sds@gn...> - 2004-06-27 21:54:20
> * Denis Bueno <qohrab@...> [2004-06-26 11:29:46 -0400]:
> Is there some sort of developer doc for CLISP that will tell me such
> things as:
> - how lisp objects can be interacted with in c
lispbibl.d -- definitions, examples throughout the source code (*.d)
> - how LISPFUN and friends work (LISPFUN*)
LISPFUN(foo,...) just defines a function
void C_foo (void)
(more complicated for functions with &rest argument).
see lispbibl.d and subr.d
> - how the lisp function stack for a lisp function is created, managed,
> etc., i.e. the calling convention
see eval.d and lispbibl.d and examples throughout the codebase.
E.g., in modules/syscalls/calls.c:copy_file_low:
pushSTACK(source); /* filename */
(open source :direction :input :element-type 'unsigned-byte
Sam Steingold (http://www.podval.org/~sds) running w2k
<http://www.camera.org> <http://www.iris.org.il> <http://www.memri.org/>
Lisp is a language for doing what you've been told is impossible. - Kent Pitman