Marc Nieper-Wißkirchen

Results 42 issues of Marc Nieper-Wißkirchen

The following program causes Chibi to segfault: ```scheme (import (scheme base) (only (chibi) er-macro-transformer)) (let ((x #f)) (define-syntax foo (er-macro-transformer (lambda (e r c) x))) (foo)) ``` The binding of...

How much work would it be to make sure that the primitive `%call/cc` produces the same procedure (in the sense of `eq?`) when called twice in the same continuation? At...

The chibi-scheme interpreter understands the environment variable `CHIBI_MODULE_PATH`. I would like to suggest to add another recognized environment variable, namely `CHIBI_FLAGS`, which allows setting arbitrary flags. (The flags in `CHIBI_FLAGS`...

`char-ready?` generally returns `#t` although the next `(read-char)` invocation would block.

Consider the following expression: ```scheme (make-syntactic-closure env1 free1 (make-syntactic-closure env2 free2 expr)) ``` Here, `env1` and `env2` are (syntactic) environments, `free1` and `free2` are lists of identifiers and `expr` is...

The following code causes Chibi to allocate more and more memory: ```scheme (do ((i 0 (+ i 1))) (#f) (symbol->string (string->symbol (number->string i))) (when (zero? (modulo i 10000)) (display (gc))...

The following is a simple test: ```scheme (import (scheme base) (scheme eval) (scheme repl) (chibi test)) (eval '(define (f x) (+ x 2)) (interaction-environment)) (eval '(define + *) (interaction-environment)) (test-begin)...

Currently, `(read (open-input-string "'"))` yields `(quote #)`. In contrast, 6.13.2. of R7RS says: “If an end of file is encountered after the beginning of an object’s external representation, but the...

Running `make` produces the following error with GCC 8.3 and GCC 9.1 on Ubuntu 19.04: ``` [ 11%] Building CXX object test/iterator/CMakeFiles/iter.operations.dir/operations.cpp.o In file included from /home/mnieper/github/cmcstl2/include/stl2/detail/range/concepts.hpp:24, from /home/mnieper/github/cmcstl2/include/stl2/detail/iterator/insert_iterators.hpp:21, from...

bug

Why does the list returned by (features) contain all supported SRFIs in the form srfi-XXX? As processing a list takes O(n) in the length of the list, a relatively short...