Since the formatting of the code looked all messed up, I added it to the patches directory and you can get it here: ...
1082
Roger Corman
rgcorman
Dec 18, 2002 8:44 am
This is an important piece which is missing from the ffi at the moment, and will be in the 2.01 update release. Until then, here is some code which will get...
1081
lisp-cormanlisp@...
Dec 17, 2002 10:48 pm
I know I am out in the fringe of FFI with this question, but how would I call a function pointer retruned from GetProcAddress? The complicated thing would be...
1080
rene_de_v <Rene_de...
rene_de_v
Dec 17, 2002 9:42 pm
... I've tested with multiple threads printing simultaneously to the console. While it is possible to crash corman lisp like this it took 100 simultaneous...
1079
wfarnaby <wfarnaby...
wfarnaby
Dec 16, 2002 11:23 pm
Does anyone have a working example of starting and using a Java VM (1.3 or, even better, 1.4) from Corman Lisp 2.0 ? If so, can you supply the Lisp code? I've...
1078
Chris Double
iamcdouble
Dec 16, 2002 10:34 pm
... Yes, possibly a problem with multithreading. I haven't tested with 2.0 though. With 1.5 you could cause the same fault by running a number of threads all...
1077
rene_de_v <Rene_de...
rene_de_v
Dec 16, 2002 11:42 am
Hello, What are people experiences with Chris doubles Allegroserve for Cormanlisp 1.5 under Cormanlisp 2.0. It runs OK using the example and (start-server)....
1076
Pavel Grozman
pavel_grozman
Dec 14, 2002 2:52 pm
The same bug in NBUTLAST. New code: (defun nbutlast (list &optional (n 1)) (check-type list list) (check-type n (integer 0)) (let ((nth list)) (dotimes (i n) ...
1075
Pavel Grozman
pavel_grozman
Dec 14, 2002 12:00 pm
Hello, The functions LAST and BUTLAST do not work with dotted lists (should work according to HyperSpec): (last '(1 2 . 3)) ;;; An error occurred in function...
1074
Reini Urban
reiniurban
Dec 14, 2002 4:08 am
... I had a version for 1.5 in my ilisp patches, but had no time so far to rebuild them against 2.0. just see the source for (load) and there you go. ...
1073
JP Massar
jpmassar
Dec 12, 2002 10:04 pm
I stared at code similar to what is below for a long time before I realized my error: (do ((i 0 (1+ i)) ((j 0 (1+ j)))) ((> i 5)) (print (list i j))) (0 0) (1...
1072
JP Massar
jpmassar
Dec 10, 2002 7:23 am
... No, I think it should issue a warning, and generate code that signals the condition. The problem is the semantics of Common Lisp. I believe division by...
1071
Roger Corman
rgcorman
Dec 9, 2002 10:59 pm
The function is useful. It's not broken. Note that the following will all work correctly: (ignore-errors (eval '(/ 10 0))) (ignore-errors (/ x 0)) ;; assuming...
1070
hpwickern <hpwicke...
hpwickern
Dec 9, 2002 8:34 pm
... Thats not good. Then the function is not completly usefull. Maybe Roger can improve this. By the way: Just tested to pack the corman runtime file with a ...
1069
JP Massar
jpmassar
Dec 9, 2002 7:01 am
... Btw, Ignore-errors is just a macro that expands into a HANDLER-CASE. Be careful using conditions in Corman Lisp. Not all conditions are signalled so that...
1068
hpwickern <hpwicke...
hpwickern
Dec 8, 2002 5:28 pm
... Thanks Karsten for the quick response, No, I had not found it in hyperspec, but I will give it a try. In the meantime I took a look in Paul Graham's great...
1067
Karsten
karstenpoeck
Dec 8, 2002 12:32 pm
Hello, did you read the hyperspec chapter 9 Conditions? Anyhow try (handler-case (eval (read-from-string "b")) (error (an-error) (values :crashed an-error)) ...
1066
hpwickern <hpwicke...
hpwickern
Dec 8, 2002 9:18 am
I am a little lost with the following: I got a string as a parameter containing a lisp expression like "(eval b)" (Could be any lisp-code). ...
1065
Roger Corman
rgcorman
Dec 8, 2002 9:10 am
The &allow-other-keys lambda keyword is supported, but the :allow-other-keys override in individual functions is not supported in 2.0. This is an oversight and...
1064
JP Massar
jpmassar
Dec 8, 2002 12:09 am
... It doesn't seem to work. For instance (make-array '(5) :allow-other-keys t :element-type 'character :foo 5) gets the error ;;; An error occurred in...
1063
frantisek stafek
efffko
Dec 7, 2002 10:01 pm
I thought that always yes... But this happened to me when trying to run allegroserve with (net.aserve:start :allow-other-keys T) ;;; An error occurred in...
1062
Pavel Grozman
pavel_grozman
Dec 7, 2002 8:30 pm
... DEFASM ... Yes. But I think would be better to use the documented function LISP-STRING-TO-C-STRING and redefine this function to make it faster and safer. ...
1061
JP Massar
jpmassar
Dec 7, 2002 6:22 pm
... Not according to the documentation. LISP-STRING-TO-C-STRING lisp-string [function] Package: C-TYPES lisp-string should be a Lisp string. Returns a newly...
1060
Pavel Grozman
pavel_grozman
Dec 7, 2002 1:54 pm
... The function LISP-STRING-TO-C-STRING does what you want. But it is slower than CREATE-C-STRING because it copies every character separatelly. Also it does...
1059
JP Massar
jpmassar
Dec 7, 2002 2:44 am
So I have code in loops that looks sort of like this: <format my output as appropriate using lisp functions into a lisp string> <convert the lisp string to a C...
1058
Alexandru Ceausu
alceausu
Dec 3, 2002 11:50 pm
I downloaded James Anderson's "Common Lisp upport for the Extensible Markup Language" and it uses in "sisdcl.lisp" the function compile- path-filename here is...
1057
wfarnaby
Dec 3, 2002 12:09 am
Thanks, Roger. One of the "most recent 2 .lisp files" that I haven't yet applied :-) ... installing it. ... http://docs.yahoo.com/info/terms/...
1056
Roger Corman
rgcorman
Dec 2, 2002 11:55 pm
There is a patch for this. In the patches directory, the file context-menu.lisp. Follow instructions in the readme file for installing it. ...
1055
wfarnaby
Dec 2, 2002 10:48 pm
Forgot to mention I'm running XP Professional w/ service pack on a Pentium 4....
1054
wfarnaby
Dec 2, 2002 10:35 pm
Here is a repeatable yet simply way to crash CCL 2.0 (all patch files applied except the most recent 2 .lisp files). I have not rebooted my system between...