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”.

  • Ok_Specific_7749@alien.topOPB
    link
    fedilink
    English
    arrow-up
    1
    ·
    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