3 ms·
> Clojure is a hosted language, CL isn't. There is nothing in the CL standard which says a single word about it. The idea of the standard is that it is possibl
by lispm 10y ago
> Clojure is a hosted language, CL isn't.
There is nothing in the CL standard which says a single word about it. The idea of the standard is that it is possible to have different implementations: native on some CISC/RISC/Lisp CPU, on top of C, on top of a virtual machine, on top of the JVM, using the LLWM, etc etc...
> That wouldn't be possible on the JVM. CL's condition system is unique to CL AFAIK.
Let's run ABCL on the JVM, on my ARM-based ODROID:
Armed Bear Common Lisp 1.3.3
Java 1.8.0-ea Oracle Corporation
Java HotSpot(TM) Server VM
Low-level initialization completed in 1.242 seconds.
Startup completed in 6.577 seconds.
Type ":help" for a list of available commands.
CL-USER(1): (handler-case (and (evenp 2)
(/ 3 0)
(oddp 1))
(error (c)
(princ c)
(values)))
Arithmetic error DIVISION-BY-ZERO signalled.
oops, it supports the CL condition system...