clasp
clasp copied to clipboard
clasp Common Lisp environment
Refactors debug info in clasp-cleavir (bytecode is basically unaffected). As part of this, refactors how inlining works. Instead of doing the actual procedure integration ourselves, we let LLVM handle it....
Compiling the following file: ```common-lisp (defstruct foo) (eval-when (:compile-toplevel :load-toplevel :execute) (defmethod bar ((foo foo)))) ``` results in the following error: ``` ERROR while evaluating compiler-time side effect: Could not...
Loading [pngload](https://github.com/3b/pngload) on clasp-boehmprecise-2.5.0-130-gc4a56ca22 fails like so: ``` ; Compiling file: /home/paul/.local/share/common-lisp/source/pngload/src/chunk-types.lisp ; (IN-PACKAGE #:PNGLOAD) ; (DEFMACRO DEFINE-CHUNK ...) ; (DEFINE-CHUNK IDAT ...) ; (DEFINE-CHUNK IHDR ...) ; (DEFINE-CHUNK IEND...
After loading the clasp-table-bug system provided below, calling `(gethash-table "a")` returns NIL instead of 0, but after compiling the function interactively, it behaves correctly. ```sh cat >clasp-table-bug.asd
I have recently been trying to compile clasp from source on MacOS with an M1 ARM-chip. While I was able to make it far in the build process, there are...
For example, ```lisp (let (x) (macrolet ((e (&environment e) (clasp-cltl2:variable-information 'x e))) (e))) ``` compiled as bytecode results in an error: The slot CLEAVIR-ENVIRONMENT::%TYPE in the object # is unbound....
This isn't production ready. I just want to keep tabs on the various tests. - [x] Pass regression tests - [x] Pass ANSI tests - [x] miser mode - [x]...
**Describe the bug** A clear and concise description of what the bug is. Building on Fedora Core 38 Linux (FC-38), x86_64, with : o sbcl-2.4.2 o clang + LLVM v16.0.6...
For example, `(typep extended-sequence 'sequence) => NIL` and `(subtypep 'my-sequence-type 'sequence) => NIL T`. This is because various parts of the type system define `sequence` to be `(or list vector)`...
Currently this fixes typep and not subtypep. and it breaks `(subtypep '(cons foo) 'sequence)`. I think Baker's subtypep is kind of totally incompatible with extended sequences in any meaningful way,...