Chapter 36. Extending CLISP
Prev | Part IV. Internals of the CLISP Implementation | Next

## Chapter 36. Extending CLISP

Common Lisp is a programmable programming language.

--John Foderaro

CLISP can be easily extended the same way any other Common Lisp implementation can: create a lisp file with your variables, functions, macros, etc.; (optionally) compile it with `COMPILE-FILE`; `LOAD` it into a running CLISP, and save the memory image.

This method does not work when you need to use some functionality not available in CLISP, e.g., you want to call a C function. You are urged to use External Modules instead of adding built-in functions.

### Note

CLISP comes with an “FFI” which allows you to access C libraries in an easy way (including creating `FFI:FOREIGN-FUNCTION`s dynamically).

| These notes document CLISP version 2.45 | Last modified: 2008-05-14

Enter your search termsSubmit search form
Webclisp.cons.orgclisp.podval.orgwww.lisp.org

Prev | Up | Next
35.6. Foreign Pointers | Home | 36.1. Adding a built-in function