vindarel
vindarel
Hi, Is it possible (or the goal) in erudite to capture and print the output of a function, akin to org mode ? I'm imagining: ``` #| The latest news...
(opened the issue to not forget)
I wanted to print the symbols of a package that are not exported: the internal symbols. ```lisp (defun internal-symbol-p (symbol) (equal :internal (nth-value 1 (find-symbol (string symbol))))) ``` indeed, `find-symbol`...
Usually, to save a lisp image, we must call SBCL from the terminal and call save-lisp-and-die from there. If we attempt to do it from the Slime REPL, we get...
```lisp (remove-if-not (lambda (x) (typep x 'asdf:static-file)) (asdf:component-children (asdf:find-system "alexandria"))) ;; => (#) (inspect (first *)) ;; => The object is a STANDARD-OBJECT of type ASDF/COMPONENT:STATIC-FILE. 0. NAME: "README.markdown" 1....
Usually the compiler will optimize things out and this will reduce the amount of information available to the debugger. For example sometimes we can’t see intermediate variables of computations. You...
An asd declaration accepts a `:version`: ``` (asdf:defsystem "myapp" :version "0.1.1" ``` How can we get it programmatically? ```lisp (asdf/component:component-version (asdf:find-system :myapp)) ;; "0.1.1" ``` We can also append the...
We run an async process with `uiop:launch-process`, which returns a `process-info` object. To get the exit code we can use `uiop:wait-process`. If the process is finished, it returns the exit...
Diving into Debian packaging required some reading, but it is not that hard, specially if you have a good Makefile, the `debhelper` tool relying on it. The two most important...
I updated a macro and re-built my binary from the shell, with a Make target. The target quickloads the dependencies, loads the asd file, and builds a binary with `asdf:make`....