From: bigbinc
Subject: lisp and c++ interaction
Date: 
Message-ID: <d1b33313.0309030836.d93b0de@posting.google.com>
lisp is a great language for doing complex things in a simple fashion.
 Are there ways to interact with lisp through other programming
languages.  I know this is probably platform dependent.  For example I
am using xemacs with linux, so the lisp interpreter are there ways to
write C++/java applications that use the emacs lisp interpreter.  Say,
I formulate lisp statements in some c++/java application and then run
the code through lisp.

Berlin Brown
·······@hotmail.com
From: Matthew Danish
Subject: Re: lisp and c++ interaction
Date: 
Message-ID: <20030904163012.GR1454@mapcar.org>
On Wed, Sep 03, 2003 at 09:36:29AM -0700, bigbinc wrote:
> lisp is a great language for doing complex things in a simple fashion.
>  Are there ways to interact with lisp through other programming
> languages.  I know this is probably platform dependent.  For example I
> am using xemacs with linux, so the lisp interpreter are there ways to
> write C++/java applications that use the emacs lisp interpreter.  Say,
> I formulate lisp statements in some c++/java application and then run
> the code through lisp.

There are a number of Lisp and Scheme implementations designed to be
embedded into other programs.  The other solution is to talk across a
socket or some kind of data pipe.

Go to
http://www.cliki.net/Common%20Lisp%20implementation

And check out ECL, ThinLisp, CLISP.

Or if you choose to talk across a pipe, you can choose whatever
implementation is most convenient.

There are a great deal of Schemes which are designed to be embedded or
interface with C.  Bigloo comes to mind, but you can easily find them by
searching a little.

Unless you have a very specific reason to use xemacs lisp, I advise you
choose one of the above instead.

-- 
; Matthew Danish <·······@andrew.cmu.edu>
; OpenPGP public key: C24B6010 on keyring.debian.org
; Signed or encrypted mail welcome.
; "There is no dark side of the moon really; matter of fact, it's all dark."