Hello,
because the code in AllegroCl and Lispworks vary for opening a socket, I wanted to ask, if there is a command to identify the compiler one is working with?
Thanks in advance,
Phil
command which lisp compiler is used
Re: command which lisp compiler is used
(lisp-implementation-type) tells you which "brand" lisp you're running.
(lisp-implementation-version) tells you which release it is.
Also look for hints stored in *features*; these allow for easy conditional compilation such as
As regarding sockets, you might be interested in the usocket compatibility layer.
(lisp-implementation-version) tells you which release it is.
Also look for hints stored in *features*; these allow for easy conditional compilation such as
Code: Select all
#+sbcl
(defun i-am () "sbcl")
#+ecl
(defun i-am () "ecl")
-
- Posts: 2
- Joined: Mon Aug 03, 2009 8:00 am
Re: command which lisp compiler is used
Thank you, all the informations were really useful!!