Custom Query (1631 matches)
Results (7 - 9 of 1631)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#1819 | fixed | Add user-facing weak pairs API | ||
Description |
User "kluk" brought up on IRC that it would be nice to have line number information in the interpreter, for better error reporting. This is somewhat problematic because the interpreter has to deal with potentially unbounded input, as one can reload files interactively or have code be Perhaps a relatively simple solution would be to use a weak hash table for the line number database. Since we already *have* weak pairs in core, perhaps we should simply expose these to the user (and csi). We could use this API from MIT Scheme: https://web.mit.edu/scheme_v9.2/doc/mit-scheme-ref/Weak-Pairs.html Also in Chez Scheme: https://cisco.github.io/ChezScheme/csug9.5/smgmt.html#./smgmt:h2 Then this could form the basis of a weak hash table API as well. Perhaps best left as an internal API (just like other compiler hash tables are also internal). Later someone(TM) can provide an egg with a proper weak hash table API. We should probably also look seriously into ephemerons (a la https://srfi.schemers.org/srfi-124/srfi-124.html), but from https://scheme-48.s48.narkive.com/YJq3GJOw/ephemerons-long-message-with-a-brief-preamble it seems these are somewhat trickier to implement, so that might be for a later version. |
|||
#1817 | fixed | explore using zig as a c-compiler alternative | ||
Description |
It seems to be possible to build chicken using zig-cc, as experiments by siiky have shown. This would also be a particularly nice option for Windows without the need to work with the mingw mess. |
|||
#1811 | fixed | [r7rs] 'environment' wrongly imports all symbols from r7rs module | ||
Description |
The procedure (import (scheme eval)) (eval '(+ 1 3) (environment '(except (scheme base) +))) . . . 4 The expected behavior is an "unbound variable: +" error. I'll upload a patch (thanks Felix). |