What's the best way to initialise a Lisp session (I'm using Slime and sbcl) such that functions are always compiled with the maximum amount of debug information?
SBCL provides a recursive event loop ( serve-event ) for doing non-blocking IO on multiple streams without using threads. SBCL allows restricting the execution time of individual operations or parts of a computation using :timeout arguments to certain blocking operations, synchronous timeouts and asynchronous timeouts.
To run SBCL, type "sbcl". After startup messages a prompt ("*") appears. Enter a Lisp expression, and SBCL will read and execute it, print any values returned, give you another prompt, and wait for your next input. Most people like to run SBCL as a subprocess under Emacs.
Steel Bank Common Lisp (SBCL) is a high performance Common Lisp compiler. It is open source / free software, with a permissive license.
(sb-ext:restrict-compiler-policy 'debug 3)
in the repl or your .sbclrc will do it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With