2 ms·
/smug-lisp-weenie-mode I didn't realise that SBCL is interpreted.
by jsjolen 8y ago
/smug-lisp-weenie-mode
I didn't realise that SBCL is interpreted.
- DonaldFisk 8y agoI'm not sure how SBCL is implemented, but I've written my own Lisp. It's incrementally compiled to byte code - the compiler is called when defun or defmacro is evaluated - but the REPL still relies on the interpreter, the same interpreter which does everything until the compiler compiles itself during a clean build. So compiled code can have a REPL, but a REPL needs an interpreter as well.
- lispm 8y agoSBCL compiles always. Code from the REPL is also compiled. OTOH LispWorks uses an interpreter for the REPL interaction. Yes, an Interpreter offers some more interactive features - but usually lacks the compile-time warnings/errors.