[Date Prev] [Date Next] [Thread Prev] [Thread Next] Date Index Thread Index Search archive:
Date:Mon May 9 01:51:31 1996 
Subject:Re: LISP and POP11 
From:A . Sloman 
Volume-ID:960509.01 

Iain,

> I was wondering if it was possible to run LISP from within POP11.
> I want to integrate a clustering package written in LISP into
> a POP11 package and I would prefer not to have to convert it from
> LISP code to POP11 code.
>
> If I can run LISP packages from POP11, where would I find information on
> how I could it?

Look in HELP CLISP and HELP POPLISP.

The latter explains how to invoke Pop-11 from Lisp and Lisp from Pop-11

E.g. to invoke lisp from Pop-11, use "@" to prefix the name of a lisp
symbol. If it's the name of a function you can invoke the function by
applying it (using Pop-11 syntax) to some number of arguments, plus an
integer saying how many arguments. Here are examples from the poplisp
help file:

    @CAR([a b c], 1) =>
    ** a

    @MEMBER([b], [[a] [b] [c]], @:TEST, @EQUAL, 4) =>
    ** [[b] [c]]

    @+(1, 2, 3, 4, 5, 5) =>
    ** 15

You may get a more complete answer from someone at Sussex or ISL.
Aaron