chibi-scheme
chibi-scheme copied to clipboard
Official chibi-scheme repository
Since yesterday, I have been working on a SRFI 226-compatible implementation of delimited continuations for Chibi Scheme (see here for the current development: https://github.com/mnieper/chibi-scheme/tree/srfi-226). It basically replaces the call/cc &...
Would you accept a patch that enables using square brackets (as used in R6RS, for example) to improve portability?
The relevant definitions in Chibi are: `lib/chibi/system.stub`: ``` (define-c errno getgrgid_r (gid_t (result group) (link string) (value (string-size arg2) int) (result pointer group))) (define-c errno getgrnam_r (string (result group) (link...
```scheme > (http-get "http://httpbin.org") # > (http-get "https://httpbin.org") ERROR: couldn't retrieve url "https://httpbin.org" ("HTTP/1.1" 400 "Bad Request") ``` For any HTTP URL this seems to work, but for any HTTPS...
Consider the following chibi program: ```Scheme (import (scheme base) (scheme write) (srfi 14) (chibi parse)) (define parse-line (parse-seq (parse-repeat+ (parse-char char-set:digit)) (parse-char char-set:blank) (parse-repeat+ (parse-char char-set:letter)) parse-end-of-line)) (let ((s (string->parse-stream...
Unfortunately, this is just a feature request at the moment, and there is no implementation accompanying this issue. Several SRFIs I wrote recently depend on syntax-case and identifier properties, being...
Arguably the `name` and `pred` should be independent of one another, but that would require rewriting `test-error` as an explicit renaming macro in order to be able to type check...
``` > (import (rename (chibi) (quasiquote qq) (unquote uq) (unquote-splicing uqs))) > (qq (qq (uq x))) (quasiquote (unquote x)) ``` Expected: `(qq (uq x))`
Here's an example where `sc-macro-transformer` behaves differently than on MIT scheme. The MIT scheme version behaves more in line with what I expect. ``` (define-syntax loop (sc-macro-transformer (lambda (exp env)...
Your code to convert between `f16` and `f64` is a bit opaque to me: ``` double sexp_half_to_double(unsigned short x) { unsigned int e = (x&0x7C00)>>10, m = (x&0x03FF)23; return int_as_float((x&0x8000)>1)...