Embeddable Common Lisp (ECL) is an open source Common Lisp implementation aimed at producing a small-footprint Lisp system that can be integrated with C-based applications.
Questions tagged [ecl]
56 questions
0
votes
0 answers
Not overwriting *standard-input* prevents multi-threading
I have a Common Lisp program that behaves differently depending on how I use *standard-input*. Here are the details:
(if input-stream?
(process)
(with-open-file (*standard-input* up :element-type 'unsigned-byte)
(process)))
The…

vkamenen
- 51
- 7
0
votes
1 answer
asdf:make-build on Windows fails
I have the following files
example.asd:
(defsystem example
:serial t
:components ((:file "first")
(:file "second")))
first.lisp:
(defun first-print-hello ()
(format t "Hello from first.lisp!~%"))
second.lisp:
(format t…

jefftime
- 442
- 5
- 14
0
votes
1 answer
Weird interaction: ECL throws errors on windows when TGUI tries to create an Edit Box
I am currently using TGUI (a GUI library based on SFML) together with ECL (so I can use Lisp for config and scripts). It works fine on Linux/gcc, but on Windows/MinGW ECL throws an error:
Condition of type: FLOATING-POINT-INVALID-OPERATION
#

Autolykos
- 203
- 2
- 8
0
votes
0 answers
ROS Unknown CMake command "ecl_detect_filesystem"
I am new to ROS and I was given a workspace, which I need to compile and use for a university project. When trying to compile this workspace with catkin_make, I'm getting the following error:
CMake Error at…

thePHPHero
- 169
- 3
- 10
0
votes
2 answers
Following the definitions in a lisp code base
I would like to understand nqthm-1992 code, this is an archaic theorem prover.
I use ECL as a lisp interpreter and was advised to use the slime package for figuring out common lisp definitions and explanations. It does good on common lisp…

Gergely
- 6,879
- 6
- 25
- 35
0
votes
0 answers
compile ECL in Windows error
ecl-13.5.1, windows xp
I go into "msvc" dir then use nmake and some options.
Then I cannot get ecl.dll but a memory error!
ecl_min.exe cause the error.
The version of msvc is vs2008.
Thank you very much.

Gin Green
- 1
- 1
0
votes
0 answers
configure error on FreeBSD
I git clone the newest ECL and do the following:
$./configure --prefix=/home/***/ecl
...
configure: error: Oops, mp_limb_t is 32 bits, but the assembler code
in this configuration expects 64 bits.
You appear to have set $CFLAGS, perhaps you also…

z_axis
- 8,272
- 7
- 41
- 61
0
votes
3 answers
/usr/bin/ld: error: cannot find -lecl
I'm trying to compile Example of a C program embedding ECL with callbacks to C functions. github. I have installed ECL (Embeddable Common Lisp) by cloning the ECL repo with git clone git://git.code.sf.net/p/ecls/ecl ecl and then $ make and # make…

nrz
- 10,435
- 4
- 39
- 71
0
votes
5 answers
About factorial in newlisp
I run facorial function using ECL and newlisp.
ECL:
>(defun fac (n) (if (= n 1) 1 (* n (fac (- n 1)))))
>(fac 20)
22432902008176640000
>(fac 30)
2265252859812191058636308480000000
>(fac…

z_axis
- 8,272
- 7
- 41
- 61
0
votes
2 answers
Embedded ECL Lisp error handling fetch default error string and possibly line number
Please see #7755661 first. I am using ECL and basically want to execute some code, trap any kind of condition that may occur and then continue execution, without prompting or entering the debugger. This is easy to achieve with the following…

Antonio Bonifati 'Farmboy'
- 727
- 1
- 5
- 15
-1
votes
2 answers
Why does ECL can calculate factorial (1000)?
It is awesome that ECL can calculate fac(1000) ! How can ECL do it ?
>(defun fac (n) (if (= n 1) 1 (* n (fac (- n 1)))))
>(disassemble #'fac)
#(FAC N = - * # SI:FSET)
Name: FAC …

z_axis
- 8,272
- 7
- 41
- 61