Using regular CL packages in STELLA-systems

"Magnus Malm" <[email protected]> Thu, 18 Oct 2007 15:25:30 +0200
Newsgroups gmane.comp.ai.powerloom
Message-ID <[email protected]>
Hello.

I have recently started to look into PowerLoom and STELLA, as I am trying to
build a knowledgebase for a planner in a p2p network of robots, cameras,
etc. What I have is a lisp-interface (cmucl-19d based
atm) to the actual core functions of the network (getting id's, the
various components tuple values, etc).

What I need is a way to call the functions, defined in the interface
package, in my stella code. I've tried adding the package to
:required-systems in my defsystem, though I'm not sure what that keyword do
exactly (Documentation is kind of lacking, sources not counted). All I get
is a warning about undefined functions.

In slime's REPL I can invoke the interface functions while in the STELLA
package just fine. That is, at the REPL I can do, e.g,

STELLA>(<package-name>::<function> ...)

But if I add e.g. (<package-name>::<function>) to my stella source, I get
Undefined function |<PACKAGE-NAME>::<FUNCTION>| when I make the system
and errrors about the same functions that they're undefined when I try to
run my system.

So I guess there's something wrong with my stella system and/or the
translation from stella to cl. Or is it perhaps so that one cannot include
regular cl packages in a stella-system? If so, are there any other way one
can communicate with other non-stella packages?

Any help is deeply appreciated.

Regards
-- 
Magnus Malm

_______________________________________________
powerloom-forum mailing list
[email protected]
http://mailman.isi.edu/mailman/listinfo/powerloom-forum