117 questions
1 vote
2 answers
95 views
Is `eval-when` required for `defconstant` used in `#.` reader macro?
You can use the #. reader macro to get symbolic case labels in Common Lisp. Example: (defconstant +foo+ 1) (defconstant +bar+ 2) (defun quux (x) (ecase x (#.+foo+ "Foo!") (#.+bar+ ...
2 votes
0 answers
105 views
Trouble with usocket in Clozure CL
I can't get USOCKET to work under CCL, even though the very same code works on SBCL and CCL's built-in sockets work ok. This snippet works in SBCL: (let* ((sd (usocket:socket-connect "localhost&...
1 vote
1 answer
100 views
LISP/CCL: Passing a quotation mark as argument to 'run-program'
What is the correct way of passing a quotation mark as an argument to Clozure CL's run-program? Take the simple example of calling echo ", which should return ". However, when I try to run ...
3 votes
1 answer
114 views
Sharpsign dot macro in Clozure Common Lisp
I want to use constant variables in case macro as "Common Lisp Recipes" book recommends. 10-2. Using Constant Variables as Keys in CASE Macros Unfortunately it doesn't work in Clozure CL. (...
1 vote
0 answers
233 views
Dtrace from Touretzky
I am trying to learn lisp with the book "Common LISP a Gentle Introduction to Symbolic Computation" written by Touretzky. There is a utility in the book, Dtrace(I use dtrace.generic). ...
2 votes
1 answer
175 views
Is using handler-bind with a stateful closure valid?
Is this a conforming Common Lisp program? (handler-bind ((condition (let ((x 0)) (lambda (c) (declare (ignore c)) ...
4 votes
3 answers
2k views
"Heap exhausted, game over" message in wxMaxima - Does ccl will work for me?
everyone, I'm trying to do some calculations and plot the results, but it seems that these are too heavy for Maxima. When I try to calculate N1 and N2 the program crashes when parameter j is too high ...
0 votes
1 answer
836 views
Finding Neighbors in 2d Array (Not Including diagonal)
In another post I found this way to find the neighbors of the current pixel in a 2d array. The solution considered diagonal pixels to be neighbors. I need a solution that gives only directly N, S, E, ...
3 votes
2 answers
357 views
buffers in CCL code samples along with the oneapi toolkit
I Was going through the CCL code samples along with the oneapi toolkit. In the below DPC++(SYCL) code initially sendbuf a buffer is created in the cpu side and is not initialised and in the part ...
2 votes
2 answers
230 views
LISP cond answer no package
It is difficult to find an appropriate title because I do not understand why I have the following issue. When I require my package, I would like to assign a specific function according to some ...
2 votes
2 answers
247 views
CPI and LPI value for FONT 14 in Cerner Command Language (CCL)
What is the equivalent value for FONT 14 in Cerner Command Language's(CCL) character per inch (CPI) and Lines per inch (LPI).
2 votes
0 answers
86 views
Unix Socket Error 14 in Clozure Common Lisp
I am trying to run hunchentoot on PPC64 linux , and it seems that there are something wrong with CCL's native socket api on this platform : (T482:lisp/ccl/201908011326) # cat 4.lisp (WITH-OPEN-...
0 votes
1 answer
124 views
Returning end times between 2 start times of the same patient?
Currently writing a clinical report in Cerner's CCL (derived from SQL). The start of a patient's central line insertion is posted on 1 form, and the end on another form. Patients may end up having ...
1 vote
2 answers
397 views
SBCL ASDF problem vs. CCL Re: Circular Ref?
This compiles fine on ccl, but fails with a circular ref. error on SBCL: kp.asd: (in-package :asdf) (defsystem kp :components ((:module "utils" :components ((:file "utils"...
2 votes
1 answer
226 views
lx86cl: No such file or directory common clozure lisp
I am on a slackware and I have successfully installed common clozure lisp but when running ccl in shell prompt I have the following error message: > /usr/local/bin/ccl64: line 81: /usr/local/bin//...