this post was submitted on 18 Oct 2023
1 points (100.0% liked)

Lisp

53 readers
3 users here now

founded 1 year ago
MODERATORS
 

Personaly i found abcl a bad experience.
Thoughts on ecl & clisp ?

sbcl works nice & fine. But i't's the only lisp implementation i know.
There are good books on racket-scheme & chez-cheme.
The only book i know for lisp is, "Common lisp , a gentle introduction to symbolic computing".

you are viewing a single comment's thread
view the rest of the comments
[–] easye@alien.top 1 points 1 year ago (7 children)

Personaly i found abcl a bad experience. ABCL maintainer here: Sorry to hear that you didn't like using ABCL. I would be interested in hearing about your misery to try to improve things for others.

[–] Ok_Specific_7749@alien.top 1 points 1 year ago (3 children)

The first library i tried was serapeum.
https://github.com/ruricolist/serapeum
But abcl was spitting out alot of errors.

[–] downtown-quasi-moody@alien.top 1 points 1 year ago (2 children)

What errors do you get? ABCL successfully runs Serapeum's full test suite on my machine (aarch64-darwin).

[–] lispm@alien.top 1 points 1 year ago

On my Mac with ABCL 1.9.2 I can load it via Quicklisp and get for example this error:

; Caught COMPILE-FAILED-WARNING:

;   Lisp compilation failed while compiling
    #
[–] Ok_Specific_7749@alien.top 1 points 1 year ago

Program below works fine with sbcl & ccl.
For abcl i get alot of warnings, not errors,


(load "~/quicklisp/setup.lisp")
(declaim (optimize (speed 3) (safety 3)))

(ql:quickload "serapeum")

(defpackage alain
  (:use :cl :serapeum)
  (:export main));defpackage

(in-package :alain)

(declaim (type (integer) *anint*))
(defparameter *anint* 2)

(-> addtwo ( integer ) integer )
(defun addtwo (x)
  ( + *anint* x ))

(defun main ()
	(print (addtwo 3)));main

(in-package :cl)
(defun main ()
  (alain::main))
(main)

; Compilation unit finished ; Caught 22 WARNING conditions ; Caught 10 STYLE-WARNING conditions

[–] easye@alien.top 1 points 1 year ago

Thanks for the feedback.

[–] ruricolist@alien.top 1 points 1 year ago

I know in general there are thing in Serapeum that don't work properly in ABCL, but I have gotten gotten patches from ABCL users so to be fair there are definitely people using it there.

load more comments (3 replies)