Questions tagged [ccl]

Clozure CL (CCL) is a Common Lisp implementation.

Quoting the wilkipedia page:

Clozure CL (CCL) is a Common Lisp implementation. It implements the full ANSI Common Lisp standard with several extensions (CLOS MOP, threads, CLOS conditions, CLOS streams, etc.) It contains a command line development environment, an experimental integrated development environment (IDE) for Mac OS X using the Hemlock editor, and can also be used with SLIME (a Common Lisp development environment for GNU Emacs).

The official page is in here.

116 questions
0
votes
1 answer

read error in clozure common lisp

have a file of s-expressions, which includes foreign language characters, that I am reading in as follows: (defun test (file) (with-open-file (stream file) (loop while (read stream nil nil)))) It reads the file without errors in ccl 1.8, but…
0
votes
1 answer

How to handle raw-post-data in Hunchentoot

I'm working on a Lisp API utilizing RESTAS, Hunchentoot and CL-JSON. I have a route defined like this: (define-route user/register ("/user/register" :method :post) (let* ((raw-data (hunchentoot:raw-post-data :force-text t)) (params…
Wojciech Gac
  • 1,538
  • 1
  • 16
  • 30
0
votes
1 answer

How to grab read-write-lock without releasing it in Lisp?

I'm using Clozure CL to write an app. In the app, I need to write several files, so I made a read-write-lock for each file. Now I'm trying to write a quit function. It checks whether all the file writings are complete and then quit. Basically it…
Wise Simpson
  • 305
  • 3
  • 9
0
votes
0 answers

Calling a .bat/.ps file from within a lisp file

How do we call a .bat file or powershell file from a lisp file in SBCL or CCL? We need to do this because the batch file calls gprolog commands with some arguments. Note: LispWorks has something like below: (system:call-system-showing-output…
RAbraham
  • 5,956
  • 8
  • 45
  • 80
0
votes
1 answer

CCL Save-Application, Clisp Saveinitmem, Issues

On ccl on mac os x 10.9 i am having a problem cretaing executables. (save-application "/full/path/to/saved-app" :prepend-kernel t) double clicking the produced executable file enters on terminal showing very long errors starting with a one like…
sçuçu
  • 2,960
  • 2
  • 33
  • 60
0
votes
1 answer

Pass an object argument to a macro

I encounter errors when passing an object argument to a macro. Must I quote the argument, put it in a list, or not quote it? I wish to use Clozure Common Lisp to generate and run multiple processes in parallel using a read-write-lock to control data…
fpt
  • 358
  • 3
  • 11
0
votes
1 answer

How to speed up Connected Component Labeling (second pass)

I need advice how to speed up the second pass of CCL algorithm. First pass takes only a few milliseconds, but second pass takes a few seconds. I tried several times to optimize the table of equivalences or use pointers, but second pass is always…
Radicz
  • 145
  • 1
  • 9
0
votes
1 answer

CCL breaks over illegal characters in file/directory name?

Consider the following: (directory (make-pathname :directory '(:absolute "Users" "gazonk" "foo" "*") :name :wild)) This breaks because one of the directories contains the character ";". If the "*" above is removed, the…
0
votes
1 answer

NSMatrix calling NSFormCell's methods on an NSTextFieldCell prototype

I created an NSMatrix with an NSTextFieldCell as its prototype. But when the view is added to a window and drawn, I get this error: -[NSTextFieldCell setTitleWidth:]: unrecognized selector sent to instance 0x21191040 Why is Cocoa calling…
Clayton Stanley
  • 7,513
  • 9
  • 32
  • 46
0
votes
0 answers

Accessing the Sandboxed Apple Store without XCode

I am working on an OSX app which is created using an open source common lisp implementation called CCL. We are trying to add in app purchases to our app and I just read through the StoreKitGuide and I am wondering how will I be able to test the in…
Mike2012
  • 7,629
  • 15
  • 84
  • 135
-1
votes
1 answer

How can I write my query to pull up a result like this ? Last names, sex count

VIEW DESIRED RESULT HERE So far what I have is this result here based on the query below ...and that is not very close to what I need SELECT P.NAME_LAST, COUNT(P.NAME_LAST), P_SEX_DISP = UAR_GET_CODE_DISPLAY(P.SEX_CD), …
1 2 3 4 5 6 7
8