enlivend (enlivend) wrote,

CLAUDE and CLAUDE-SETUP

CLAUDE (the Common Lisp Library Audience Expansion Toolkit) exports libraries written in Common Lisp, so that applications being developed in other languages can access them. CLAUDE co-operates with foreign runtimes in the management of CLOS objects, records, arrays and more primitive types. Lisp macros make the task of exporting a library simple and elegant; template documentation along with C headers and sample code files relieve some of the burden of explaining such exports to the application programmer.

CLAUDE-SETUP configures CLAUDE for your library.

Rapid Example

(defclass-external frob () ()) (defun-external (new-frob :result-type object) () (make-instance 'frob))

and then in Python...

>>> claude.Frob() <Claude Frob handle=0x200538b0> >>>

Take a Closer Look

Tags: lisp
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

  • 0 comments