Embeddable Common-Lisp main repository.
Find a file
Daniel Kochmański e02fb7ea04 clos: ensure that funcallables are treated as functions
The fact taht gfdef is null does not mean that the funcallable is not a
function. We distinguish funcallables from non-funcallables by checking the
header flag x->instance.isgf -- when it is 0, then the instance is not
funcallable.

In this commit we are still lenient towards the behavior, that any instance may
become a funcallable by a mere action of assigning the function -- initially we
set assign the function (for funcallables) to nil, ensuring that .isgf is not
ECL_NOT_FUNCALLABLE (but rather ECL_NULL_DISPATCH - a new state flag).

This assignment is at this moment performed in the only method ALLOCATE-INSTANCE
specialized to classes (and we verify the actual class using subtypep).

A more strict implementation would:
- assign isgf when the instance is allocated
- refus to assign new function to instances that are not funcallables

This commit is enough to fix the test MOP.0030, BUT NOT MOP.0031.
2026-05-08 22:32:13 +02:00
contrib update asdf to 3.1.8.11 2026-03-09 15:42:41 +01:00
examples Update asdf_with_dependence example readme 2023-07-09 18:04:35 +00:00
src clos: ensure that funcallables are treated as functions 2026-05-08 22:32:13 +02:00
.gitignore .gitignore: add the directory /local as ignored 2023-05-22 10:16:39 +02:00
.gitlab-ci.yml Update gitlab-ci to run pipeline less frequently (2) 2025-07-26 16:59:24 +02:00
CHANGELOG Merge branch 'master' into develop 2026-05-05 11:33:01 +02:00
configure Preserve quoting when passing the arguments to the build directory 2008-08-27 09:50:44 +02:00
COPYING cleanup: update license to lgpl-2.1+ in both headers and text 2024-01-14 12:22:27 +01:00
INSTALL Drop support for Microsoft Visual Studio Compiler 2026-04-19 19:07:15 +02:00
LICENSE cleanup: update license to lgpl-2.1+ in both headers and text 2024-01-14 12:22:27 +01:00
Makefile.in tests: implement tests for cross compilation of user code 2025-11-21 19:08:14 +01:00
README.md update readme (typos) 2015-08-31 08:22:52 +00:00

ECL stands for Embeddable Common-Lisp. The ECL project aims to produce an implementation of the Common-Lisp language which complies to the ANSI X3J13 definition of the language.

The term embeddable refers to the fact that ECL includes a Lisp to C compiler, which produces libraries (static or dynamic) that can be called from C programs. Furthermore, ECL can produce standalone executables from Lisp code and can itself be linked to your programs as a shared library. It also features an interpreter for situations when a C compiler isn't available.

ECL supports the operating systems Linux, FreeBSD, NetBSD, DragonFly BSD, OpenBSD, Solaris (at least v. 9), Microsoft Windows (MSVC, MinGW and Cygwin) and OSX, running on top of the Intel, Sparc, Alpha, ARM and PowerPC processors. Porting to other architectures should be rather easy.