← Back to team overview

opencog-dev team mailing list archive

Re: OpenCog Shell

 

Hi Cassio,

> 2. The CogServer proper.  I'm not sure this can be done by any of the
> proposed approaches save what Linas has been doing: telnet into the server.
>  This is also what nmsh does.  The CogServer is soon going to be
> multithreaded, with dynamic MindAgent plugging and other niceties.  All of
> this makes less sense in a library than in a server, but is needed if one
> wants to test their code running in collaboration with other MindAgents,
> request complex tasks of other MindAgents, etc.
>
> The natural way to reach 2 is to embed interpretation of the higher level
> language within the C++ process.  I know this can be done with Ruby, and I
> believe it should be possible for some LISP flavor.  I don't know if we can
> preserve concurrent processing and other server-like abilities by calling
> the CogServer as a library from a higher level language process.
>
I am by no means an expert, but after a cursory examination it seems
like Embeddable Common Lisp (http://ecls.sourceforge.net/) might
support this though its dynamic FFI (overview at
http://ecls.sourceforge.net/new-manual/ch18s02.html), including
concurrent processing. Of course, this would chain development to ECL,
but the upside might be worth it (very very cool if it actually worked
;->).

- Moshe



Follow ups

References